This is the mail archive of the gsl-discuss@sources.redhat.com mailing list for the GSL project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Fwd: Re: RN generators Seed]





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
>



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]