next up previous
Next: Extracting the random number Up: Fills Previous: Gaussian random number fills

Seeding the random number generator

Syntax void RNG::setrn(const Seed& a)
Meaning Initialize the random number generator with seed state a

For details see the discussion of the corresponding scalar function random.h.



Robert Edwards 2011-12-24