The mersenne-random-pure64 package
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.
Properties
| Versions | 0.1, 0.1.1, 0.2, 0.2.0.2, 0.2.0.3 |
|---|---|
| Dependencies | base (<3) or base (≥3 & <6), old-time, random |
| License | BSD3 |
| Copyright | (c) 2008. Don Stewart <dons@galois.com> |
| Author | Don Stewart |
| Maintainer | Don Stewart <dons@galois.com> |
| Category | Math, System |
| Home page | http://code.haskell.org/~dons/code/mersenne-random-pure64/ |
| Upload date | Sun Feb 21 20:40:04 UTC 2010 |
| Uploaded by | DonaldStewart |
| Built on | ghc-6.12, ghc-7.0, ghc-7.2 |
| Distributions | NixOS: 0.2.0.3, Debian: 0.2.0.3 |
Modules
Downloads
- mersenne-random-pure64-0.2.0.3.tar.gz (Cabal source package)
- package description (included in the package)