The Mersenne twister is a pseudorandom number generator developed by Makoto Matsumoto and Takuji Nishimura that is based on a matrix linear recurrence over a finite binary field. It provides for fast generation of very high quality pseudorandom numbers. The source for the C code can be found here:
<http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt64.html>
This library provides a purely functional binding to the 64 bit classic mersenne twister, along with instances of RandomGen, so the generator can be used with System.Random. The generator should typically be a few times faster than the default StdGen (but a tad slower than the impure 'mersenne-random' library based on SIMD instructions and destructive state updates.
Package Version | Update ID | Released | Package Hub Version | Platforms | Subpackages |
---|---|---|---|---|---|
0.2.2.0-bp156.3.4 info | GA Release | 2024-02-21 | 15 SP6 |
|
|
0.2.2.0-bp155.2.15 info | GA Release | 2023-05-22 | 15 SP5 |
|
|
0.2.2.0-bp154.1.12 info | GA Release | 2022-05-09 | 15 SP4 |
|
|
0.2.2.0-bp150.2.5 info | GA Release | 2018-08-01 | 15 |
|
|
0.2.2.0-bp150.2.7 info | GA Release | 2018-07-30 | 15 |
|
|