public class RayleighRng extends InverseTransformSampling
| Constructor and Description |
|---|
RayleighRng(double sigma)
Construct a random number generator to sample from the Rayleigh distribution.
|
RayleighRng(double sigma,
RandomLongGenerator rng)
Construct a random number generator to sample from the Rayleigh distribution.
|
nextDouble, seedpublic RayleighRng(double sigma,
RandomLongGenerator rng)
sigma - the standard deviationrng - a uniform random number generatorpublic RayleighRng(double sigma)
sigma - the standard deviation