Portability | Tested with: GHC 6.8.3 |
---|---|
Stability | experimental |
Maintainer | Don Stewart <dons@galois.com> |
Safe Haskell | None |
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.
Block type
Block functions
lookupBlock :: MTBlock -> Int -> Word64Source
look up an element of an MT block