sample Subroutine

private subroutine sample(this, val, p)

Return randomly a value val and its probability p.

Type Bound

CDF_Sampler_t

Arguments

Type IntentOptional Attributes Name
class(CDF_Sampler_t), intent(in) :: this
integer, intent(out) :: val
real(kind=dp), intent(out) :: p

Contents