mod_rand Module

(in libkernel) the module to generate random number


Uses


Contents


Derived Types

type, public :: randomer

the class to generate random number

Type-Bound Procedures

procedure, public :: check_uninited

check if the randomer is initiated

procedure, public :: clean

clean the randomer

generic, public :: initialize => initialize1, initialize2

initialize the randomer

procedure, public :: randreal

return a random double number

procedure, public :: randInteger

return a random integer

procedure, public :: get_seed

return the random seed

procedure, public :: get_subseed

return the random seed of this core