public class Rayleigh extends ContinuousDistribution
The Rayleigh distribution.
References:
Constructor and Description |
---|
Rayleigh()
Default constructor.
|
Rayleigh(double s)
Create a distribution with the scale parameter.
|
Modifier and Type | Method and Description |
---|---|
double |
cumulativeProbability(double x)
The CDF for this distribution.
|
double |
getScale()
Access the scale parameter.
|
double |
inverseCumulativeProbability(double p)
The inverse CDF for this distribution.
|
void |
setScale(double s)
Modify the scale parameter.
|
public Rayleigh()
public Rayleigh(double s)
s
- the scale parameter.public double cumulativeProbability(double x)
cumulativeProbability
in class ContinuousDistribution
x
- the value at which the CDF is evaluated.public double getScale()
public double inverseCumulativeProbability(double p)
inverseCumulativeProbability
in class ContinuousDistribution
p
- the cumulative probability.public void setScale(double s)
s
- The new scale parameter value.Jas4pp 1.5 © Java Analysis Studio for Particle Physics