[Fwd: Re: RN generators Seed]

Jerome BENOIT jgmbenoit@wanadoo.fr
Tue Aug 26 13:43:00 GMT 2003




In case you use a Linux machine,
you can read /dev/random to get seeds:
see manual page `4 random'.

I hope that helps,
Jerome



Maura Edeweiss Monville wrote:
 > I'm currently using a RNG from the GNU Scietific Library in my simulation
 > I need to rerun my simulation many times with different seeds.
 > A friend of mine states the following:
 > "You can use the final random seed of a run as the starting random 
seed of
 > the next run (as you probably know, the random generators usually start
 > with a seed and then modify it in the process of generating random
 > numbers, so essentially the seed becomes a random number itself)"
 > I wonder how the final seed value can be obtained when using GSL Random
 > Number Generators .... I only found the possibility to read and save the
 > RNG "status". I do not know the relation between the RNG "status" and the
 > RNG "seed" ...     Can anyone help in this regards ?
 >
 > Thank you
 > Maura
 >



More information about the Gsl-discuss mailing list