This is the mail archive of the
gsl-discuss@sources.redhat.com
mailing list for the GSL project.
[Fwd: Re: RN generators Seed]
- From: Jerome BENOIT <jgmbenoit at wanadoo dot fr>
- To: gsl-discuss at sources dot redhat dot com
- Date: Tue, 26 Aug 2003 16:43:38 +0300
- Subject: [Fwd: Re: RN generators Seed]
- Organization: UOC
- Reply-to: jgmbenoit at wanadoo dot fr
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
>