packages feed

mersenne-random

Generate high quality pseudorandom numbers using a SIMD Fast Mersenne Twister

view on Hackage

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 This library uses SFMT, the SIMD-oriented Fast Mersenne Twister, a variant of Mersenne Twister that is much faster than the original. It is designed to be fast when it runs on 128-bit SIMD. It can be compiled with either SSE2 and PowerPC AltiVec support, to take advantage of these instructions. > cabal install -fuse_sse2 On an x86 system, for performance win. By default the period of the function is 2^19937-1, however, you can compile in other defaults. Note that this algorithm on its own is not cryptographically secure. For more information about the algorithm and implementation, see the SFMT homepage, <http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/emt.html> and, Mutsuo Saito and Makoto Matsumoto, /SIMD-oriented Fast Mersenne Twister: a 128-bit Pseudorandom Number Generator/, in the Proceedings of MCQMC2006, here: <http://www.math.sci.hiroshima-u.ac.jp/~m-mat/MT/ARTICLES/sfmt.pdf>
versionuploadeduploaderchanges
1.0.0.12011-06-18 18:36 UTCDonaldStewart+42/−42 lines, 7 filesdep ~basePVP ok
1.02009-02-05 21:46 UTCDonaldStewart+76/−1 lines, 2 filesPVP ok
0.1.32008-08-19 00:01 UTCDonaldStewart+2/−2 lines, 1 filesPVP ok
0.1.22008-06-07 19:52 UTCDonaldStewart+32/−6 lines, 4 filesPVP ok
0.1.12008-06-05 21:39 UTCDonaldStewart+45/−32 lines, 4 files
0.12008-01-22 03:50 UTCDonaldStewart+2709/−0 lines, 28 filesdep +basedep +old-timesetup-changed

Dependencies of mersenne-random-1.0.0.1

base (>=3 && <5) && <3 4.22.0.0 → 4.22.1.0
2026-12-01 12:38 UTC4.22.1.0 outside bounds+388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested
2025-12-19 11:52 UTC4.22.0.0 outside bounds+886/−215 lines, 28 filesdep ~ghc-internalPVP ok
2026-03-27 12:26 UTC4.21.2.0 outside bounds+10/−3 lines, 4 filesdep ~ghc-internalPVP ok
2025-12-27 10:31 UTC4.21.1.0 outside bounds+17/−5 lines, 4 filesdep ~ghc-internalPVP ok
2024-12-16 09:24 UTC4.21.0.0 outside bounds+1170/−396 lines, 39 filesdep ~ghc-internalPVP ok

showing 5 of 61 versions

old-time >=0 1.1.0.5 → 1.1.1.0
2026-03-07 10:25 UTC1.1.1.0+495/−331 lines, 6 filesdep +old-timedep +tastydep +tasty-hunitdep ~basedep ~old-localenew-uploaderPVP ok
2026-01-06 08:48 UTC1.1.0.5+18/−8 lines, 2 filesPVP ok
2023-12-11 08:39 UTC1.1.0.4+4746/−4619 lines, 4 filesnew-uploaderPVP: major bump suggested
2014-11-21 10:59 UTC1.1.0.3+50/−186 lines, 5 filesdep ~basesetup-changedPVP ok
2014-03-22 09:43 UTC1.1.0.2+1128/−904 lines, 9 filesdep ~basedep ~old-localenew-uploaderPVP ok

showing 5 of 14 versions

Reverse dependencies

5 packages depend on mersenne-random

dow 0.2.6 requires mersenne-random >=0
hmp3 1.5.2.1 requires mersenne-random >=0.1
instinct 0.1.0 requires mersenne-random >=1.0.0
mwc-random 0.15.3.0 requires mersenne-random >=0
mwc-random-accelerate 0.2.0.0 requires mersenne-random >=0