hackageDB :: [Package]

Built with Cabal

mersenne-random-pure64: Generate high quality pseudorandom numbers purely using a Mersenne Twister

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 much slower than the impure mersenne-random library based on SIMD instructions and destructive state updates.

Versions0.1, 0.1.1, 0.2, 0.2.0.2
Dependenciesbase (<3) or
base (>=3), old-time, random
LicenseBSD3
Copyright(c) 2008. Don Stewart <dons@galois.com>
AuthorDon Stewart
MaintainerDon Stewart <dons@galois.com>
CategoryMath, System
Home pagehttp://code.haskell.org/~dons/code/mt19937-random
Upload dateMon Jan 28 16:34:11 UTC 2008
Uploaded byDonaldStewart
Built onghc-6.8
Build failureghc-6.10 (log)

Modules

Downloads