CDF_Sampler_t Interface

public interface CDF_Sampler_t

Contents


Module Procedures

private pure function construct_CDF_sampler_t(w) result(res)

Construct a CDF sampler from given weights.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: w(:)

Return Value type(CDF_Sampler_t)

private pure function construct_CDF_sampler_with_total_t(w, total) result(res)

Construct a CDF sampler from given weights.

Read more…

Arguments

Type IntentOptional Attributes Name
real(kind=dp), intent(in) :: w(:)
real(kind=dp), intent(in) :: total

Return Value type(CDF_Sampler_t)