Readonly
stateThe internal random number state, which is updated by calls to any of the distribution functions.
Generate a binomially distributed random number (binomial)
number of trials
per-traial probability of success
Generate an exponentially distributed random number (exponential)
The rate of the process
Generate an normally distributed random number (normal)
The mean of the distribution
The standard deviation of the distribution
Generate a Poisson distributed random number (poisson)
The mean of the distribution
Generate a standard exponential random number Exponential(1) (randomExponential)
Generate a standard normal random number N(0, 1) (randomNormal)
Generate a standard uniform random number U(0, 1) (randomUniform)
Generate a uniformly distributed random number (uniform)
Minimum value of the distribution
Max value of the distribution
Generated using TypeDoc
Generate random numbers. This provides a single object that can be passed around to generate numbers from all distributions supported by the package, as well as the state required to generate the numbers from.