PyGSL Reference Manual
Previous:
B.2 IEEE-mode
Up:
B. pygsl.init
Next:
C. pygsl.errors
B.3 random number generators
Also the random number generator can be initialised from the environment variables
GSL_RNG_TYPE
and
GSL_RNG_SEED
using the gsl function
gsl_rng_env_setup()
. Each random number generators are initialised with
GSL_RNG_SEED
.
The default generator can be created by:
import pygsl.rng my_rng=gsl_rng() print my_rng.name()
PyGSL Reference Manual
Previous:
B.2 IEEE-mode
Up:
B. pygsl.init
Next:
C. pygsl.errors
Release 0.2, documentation updated on January, 2005.