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 ContinuousDistributionx - the value at which the CDF is evaluated.public double getMean()
public double inverseCumulativeProbability(double p)
inverseCumulativeProbability in class ContinuousDistributionp - the cumulative probability.public void setMean(double m)
m - The new mean value.DMelt 2.0 © DataMelt by jWork.ORG