An arbitrary object used to seed the generator.
Generates numbers using this.uniform().
Number from the exponential distribution, lambda = 1.
Uniform random number between 0 and 255.
Generates numbers using this.uniform() with the Box-Muller transform.
Normally-distributed random number of mean 0, variance 1.
Generates numbers using this.uniform() and Knuth's method.
Number from the Poisson distribution.
Uniform random number between 0 and 1.
Generated using TypeDoc
Create a new random number generator with optional seed. If the provided seed is a function (i.e. Math.random) it will be used as the uniform number generator.