public class RayleighRandomVariable extends AbstractContinuousRandomVariable
A random variable generator for the Rayleigh distribution.
References:
Constructor and Description |
---|
RayleighRandomVariable()
Default constructor.
|
RayleighRandomVariable(double s)
Create a random variable with the given mean.
|
RayleighRandomVariable(double s,
RNG source)
Create a random variable with the given parameters.
|
Modifier and Type | Method and Description |
---|---|
double |
nextRandomVariable()
Access the next random variable from this generator.
|
static double |
nextRandomVariable(double s,
RNG source)
Access the next random variable using the given generator.
|
public RayleighRandomVariable()
public RayleighRandomVariable(double s)
s
- the scale parameter.public RayleighRandomVariable(double s, RNG source)
s
- the scale parameter.source
- the source generator.public static double nextRandomVariable(double s, RNG source)
s
- the scale parameter.source
- the source generator.public double nextRandomVariable()
Jas4pp 1.5 © Java Analysis Studio for Particle Physics