Data structures for Fortran
Source Files
Modules
Procedures
Derived Types
weighted_sampler
Interface
3 statements
Source File
rejection_maxheap_two_classes.f90
datastructs_samplers_rejection_maxheap_two_classes_mod
weighted_sampler
Contents
Module Procedures
weighted_sampler_new
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
Intent
Optional
Attributes
Name
integer(kind=i4),
intent(in)
::
n
Return Value
type(
weighted_sampler_t
)