planck_rng

The derived type planck_rng is used by the Random Number Generation routines rand_init, rand_uni, rand_gauss to describe fully the current RNG sequence.
Most users do not need to know about the planck_rng definition. It may be useful for those wanting to take a snapshot of the RNG sequence they are using (by eg, dumping the latest values of planck_rng structure on disk) so that the same sequence can be resumed later on from that same point.

Location in HEALPix directory tree: src/f90/mod/rngmod.f90 

The type planck_rng is a structure defined as

name type definition
x, y, z, w I4B internal variables of uniform RNG
gset DP internal variable for Gaussian RNG
empty LGT flag used by Gaussian RNG


RELATED ROUTINES

This section lists the routines related to planck_rng

rand_gauss
function which returns a random normal deviate.
rand_uni
function which returns a random uniform deviate.
rand_init
subroutine to initiate a random number sequence.

Version 3.82, 2022-07-28