NEST
2.6.0,not_revisioned_source_dir@0
|
This module contains the interface to random numbers and random deviate generators. More...
Modules | |
Random Deviate Generators. | |
Random deviate generators (RDGs) produce random numbers with various distributions on the basis of [0,1) uniformly distributed numbers. | |
Uniform Random Number Generators. | |
All generators are derived from base class RandomGen. | |
This module contains the interface to random numbers and random deviate generators.
We differentiate between
random number generators: generate uniformly distributed numbers.
random deviate generators: generate non-uniformly distributed numbers, eg, Poisson, binomial or gamma distributed numbers.
Note that the RNG used by the deviate generator must be obtained via get_rng(thrd) on each call to update, to get the proper generator for the present thread.
If one wanted just uniformly distributed numbers in [0, 1), one could obtain them with