randomNumber_mod¶
Dependency Diagrams:
No Direct Dependency
![]()
Reverse Dependency Diagram¶
Description
MODULE randomNumber_mod (prefix=’rng’ category=’8. Low-level utilities and constants’)
- Purpose
A Gaussian random number generator (RNG) module. The actual calculation is performed by functions in an external library.
Quick access
- Routines
Needed modules
iso_c_bindingVariables
Subroutines and functions
- subroutine randomnumber_mod/rng_setup(seed)¶
- Purpose
Initialize the random number generator with a supplied seed.
- Arguments
seed [integer ,in]
- Called from
diff_setup(),epp_addrandompert(),eob_calcrandpert(),inn_perturbobs(),osd_calcinflation(),utl_randomorderint(),midas_adjointtest,midas_diagbmatrix,midas_diaghbht,midas_randompert
- function randomnumber_mod/rng_gaussian()¶
- Purpose
Returns a normally distributed deviate with zero mean and unit variance
- Return
randomnumbergaussian [real ]
- Called from
diff_setup(),epp_addrandompert(),eob_calcrandpert(),inn_perturbobs(),osd_calcinflation(),midas_adjointtest,midas_diagbmatrix,midas_diaghbht,midas_randompert
- function randomnumber_mod/rng_uniform()¶
- Purpose
Returns a random deviate between 0.0 and 1.0.
- Return
randomnumberuniform [real ]
- Called from