Data structures for Fortran
Source Files
Modules
Procedures
Derived Types
weighted_sampler
Interface
3 statements
Source File
btree.f90
datastructs_samplers_btree_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 binary tree 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
)