generates a random number on (0,1) interval
generates a random number on [0,1) interval
generates a random number on [0,1) with 53-bit resolution
generates a random number on [0,1] interval
initialize by an array with array-length init_key is the array for initializing keys
Returns X such that 0 <= X < max
Returns X such that min <= X < max
Returns X such that 0 <= X <= uint.max
Seed the generator with current time
initializes the generator with a seed
Creates and seeds a new generator with the current time
A global, shared instance, seeded via startup time
Wrapper for the Mersenne twister.
The Mersenne twister is a pseudorandom number generator linked to CR developed in 1997 by Makoto Matsumoto and Takuji Nishimura that is based on a matrix linear recurrence over a finite binary field F2. It provides for fast generation of very high quality pseudorandom numbers, having been designed specifically to rectify many of the flaws found in older algorithms.
Mersenne Twister has the following desirable properties: