Library Name: |
Mersenne Twister |
Version Number: |
1.0.1 |
Author(s): |
Thorsten Zoerner |
Download Page: |
Click here, or see below |
More Information: |
- |
Short Description: |
The Mersenne Twister is a uniform pseudorandom number generator (for both real and integers), which has been developed by Makoto Matsumoto and Takuji Nishimura during 1996-1997. The generated numbers have a period of Caveat : As Clean does not have 32-bit unsigned integers, the integer version of the Mersenne Twister returns 32-bit signed integers. Nevertheless in the real case the output of the Clean program equals the output of any reference implementation.We refer to the Mersenne Twister Homepage
for details and implementations in other languages. This implementation in Clean is a rewrite of a C program by T. Nishimura which can be found Mersenne Twister: A 623-dimensionally equidistributed uniform pseudorandom number generator Comments, remarks and suggestions are very welcome and should be made directly to Thorsten Zoerner ( |
Download |
||
MersenneTwister Library
function |
name |
types/remarks |
getRandReal |
real pseudorandom number generator |
Int -> [Real] |
getRandInt |
signed integer pseudorandom number generator |
Int -> [Int] |