Previous: RNG members, Up: Random Number Generators [Contents][Index]
To save space in the below list, template parameters have been omitted and only constructors are listed. The notation [a,b] means an interval which includes the endpoints a and b; (a,b) is an interval which does not include the endpoints.
Uniform<>()
Continuous uniform distribution on [0,1).
UniformClosedOpen<>()
Continuous uniform distribution on [0,1). Same as Uniform<>
.
UniformClosed<>()
Continuous uniform distribution on [0,1].
UniformOpen<>()
Continuous uniform distribution on (0,1).
UniformOpenClosed<>()
Continuous uniform distribution on (0,1].
NormalUnit<>()
Continuous normal distribution with mean 0 and variance 1.
Normal<>(T mean, T standardDeviation)
Continuous normal distribution with specified mean and standard deviation.
ExponentialUnit<>()
Continuous exponential distribution with mean 1.
Exponential<>(T mean)
Continuous exponential distribution with specified mean.
Beta<>(T a, T b)
Beta distribution with parameters a and b. The mean of the distribution is
a/(a+b) and its variance is ab/((a+b)^2(a+b+1)). Use the
method setParameters(T a, T b)
to change the parameters.
ChiSquare<>(T df)
\chi^2 distribution with df
degrees of freedom. The parameter
df must be positive. Use the method setDF(T df)
to change the
degrees of freedom.
Gamma<>(T mean)
Gamma distribution with specified mean. The mean must
be positive. Use the method setMean(T mean)
to
change the mean.
F<>(T numeratorDF, T denominatorDF)
F distribution with numerator and denominator degrees
of freedom specified. Both these parameters must be
positive. Use setDF(T dfn, T dfd)
to change the
degrees of freedom.
DiscreteUniform<>(T n)
Discrete uniform distribution over 0, 1, \ldots, n-1.
Previous: RNG members, Up: Random Number Generators [Contents][Index]