weighted_sampler Interface

public interface weighted_sampler

Constructor


Module Procedures

private function weighted_sampler_new(n) result(this)

Create a new rejection sampler with N weights Input: n - number of weights

Arguments

Type IntentOptional Attributes Name
integer(kind=i4), intent(in) :: n

Return Value type(weighted_sampler_t)