Toggle navigation
NECI
Documentation
Contents
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Program
Source Files
Modules
Procedures
Abstract Interfaces
Derived Types
Program
sample
Subroutine
14 statements
Source File
CDF_sampling.F90
CDF_sampling_mod
sample
Contents
private subroutine sample(this, val, p)
Return randomly a value
val
and its probability
p
.
Type Bound
CDF_Sampler_t
Arguments
Type
Intent
Optional
Attributes
Name
class(
CDF_Sampler_t
),
intent(in)
::
this
integer,
intent(out)
::
val
real(kind=dp),
intent(out)
::
p
Contents