A positive
integer
or a positive
float
.
An object of type
mt-random-state
. The default is the value of
*mt-random-state*
.
The function
mt-random
returns a pseudo-random number which is non-negative, less than
arg
and is of the same type as
arg
.
random-number
is generated using the Mersenne Twister algorithm published by Makoto Matsumoto and Takuji Nishimura at
http://www.math.keio.ac.jp/~matumoto/emt.html
.
We thank the authors for making the algorithm freely available.