rand_init
call rand_init( rng_handle, [seed1, seed2, seed3, seed4] )
name & dimensionality | kind | in/out | description |
---|---|---|---|
rng_handle | planck_rng | OUT | structure of type planck_rng containing on output all information necessary to continue same random sequence. |
seed1 (OPTIONAL) | I4B | IN | first seed of the random sequence. Can be of arbitray sign. If set to zero or not provided will be replaced internally by a non-zero hard coded value. |
seed2 (OPTIONAL) | I4B | IN | second seed. Same properties as above |
seed3 (OPTIONAL) | I4B | IN | third seed. Same as above. |
seed4 (OPTIONAL) | I4B | IN | fourth seed. Same as above. |
initiates a random sequence with the pair of seeds (12345, 6789012).
Version 3.11, 2013-04-24