FsRandom


MersenneTwister

Implements Mersenne Twister 64-bit version. See http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html for details.

Nested types and modules

TypeDescription
StateVector

Keeps a random state used in the Mersenne Twister process.

Functions and values

Function or valueDescription
mersenne
Signature: Prng<StateVector>

Random number generator using Mersenne Twister algorithm (Matsumoto & Nishimura 1998).

Fork me on GitHub