Pseudo-random number generator.
Returns the modulus of the random number generator.
the modulus of the random number generator
Returns the seed of the random number generator.
the seed of the random number generator
Returns random floating point number in range [0,1].
[0,1]
random floating point number in range [0,1]
Returns next random integer in range 0 (inclusive) to modulus (exclusive).
next the pseudo-random number
Returns random integer in range 0 (inclusive) to n (exclusive).
the limit of the range
random integer in range 0 (inclusive) to n (exclusive)
Returns an array of integers from 0 to n-1, in random order.
n-1
the size of the array to create
an array of integers from 0 to n-1, in random order.
Sets the seed of the random number generator; must be an integer between 0 (inclusive) and modulus (exclusive).
the seed to start the random number generator with
if seed is not an integer between 0 (inclusive) and modulus (exclusive).
Generated using TypeDoc
Pseudo-random number generator.