14.3. steps.API_2.rng
The rng
module contains classes related to random number generation.
14.3.1. Detailed documentation
- class RNG(algoStr='mt19937', buffSz=512, seed=1)[source]
Bases:
Random number generator class
- Parameters
- Available algorithms:
'mt19937'
(Mersenne Twister, based on the original mt19937.c)'r123'
Method and attributes are the same as in
steps.API_1.rng.RNG
.