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

PortabilityCPP, FFI, EmptyDataDecls
Stabilityexperimental
MaintainerDon Stewart <dons@galois.com>
Safe HaskellNone

System.Random.Mersenne.Pure64.Base

Description

Tested with: GHC 6.8.3

A purely functional binding 64 bit binding to the classic mersenne twister random number generator. This is more flexible than the impure 'mersenne-random' library, at the cost of being a bit slower. This generator is however, many times faster than System.Random, and yields high quality randoms with a long period.

Synopsis

Documentation

blockLen :: IntSource

length of an MT block

blockSize :: IntSource

size of an MT block, in bytes