help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] Seed for RNG


From: Johan van der Walt
Subject: [Help-gsl] Seed for RNG
Date: Thu, 28 Feb 2008 20:40:31 +0200 (SAST)

I got my little code going for generating random numbers using the GSL routines. Works fine. I now want to use a different seed every time I run the code. But I don't want to enter a new seed on the command line like this
     $ GSL_RNG_TYPE="taus" GSL_RNG_SEED=123 ./a.out
every time I run the code.

How can I set the seed in the code?

Johan







reply via email to

[Prev in Thread] Current Thread [Next in Thread]