hackageDB :: [Package]

Built with Cabal

The mersenne-random package (version 0.1)

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.

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

Other versions0.1.1, 0.1.2
Dependenciesbase (<3) or
base (>=3), old-time
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/mersenne-random
Exposed modulesSystem.Random.Mersenne
Upload dateMon Jan 21 19:50:41 PST 2008
Uploaded byDonaldStewart
Built onghc-6.8

Downloads