Struct dvcompute::simulation::generator::Generator [−][src]
#[repr(C)]pub struct Generator { /* fields omitted */ }
Expand description
The random number generator.
Implementations
Create a new generator.
Generate an uniform random number with the specified minimum and maximum.
Generate an integer uniform random number with the specified minimum and maximum.
Generate the triangular random number by the specified minimum, median and maximum.
Generate a normal random number by the specified generator, mean and deviation.
Generate the lognormal random number derived from a normal distribution with the specified generator, mean and deviation.
Return the exponential random number with the specified mean.
Return the Erlang random number.
Generate the Poisson random number with the specified mean.
Generate a binomial random number with the specified probability and number of trials.
Generate a random number from the Gamma distribution using Marsaglia and Tsang method.
Generate a random number from the Beta distribution.
Generate a random number from the Weibull distribution.
Generate a random value from the specified discrete distribution.
Generate a sequence number which can be considered quite unique.