| parrotcode: the Mersenne Twisted pseudorandom number generator | |
| Contents | Libraries |

Math/Random/mt19937ar.pir - the Mersenne Twisted pseudorandom number generator

This is a PIR version of the C-program for MT19937.
The MT19937 algorithm was created by Makoto Matsumoto and Takuji Nishimura.
See http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html and http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/MT2002/emt19937ar.html.

init_genrand (seed)init_by_array (init_key)
After initialization, the following type of pseudorandom numbers are available.
genrand_int32 ()genrand_int31 ()genrand_real1 ()genrand_real2 ()genrand_real3 ()genrand_res53 ()
Francois Perrad
|
|
|