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