public class ExponentialDistFromMean extends ExponentialDist
ExponentialDist class with a constructor accepting as
argument the mean 1/λ instead of the rate λ.decPrec| Constructor and Description |
|---|
ExponentialDistFromMean(double mean)
Constructs a new exponential distribution with mean mean.
|
| Modifier and Type | Method and Description |
|---|---|
void |
setMean(double mean)
Calls
setLambda
with argument 1/mean to change the mean of this distribution. |
barF, barF, cdf, cdf, density, density, getInstanceFromMLE, getLambda, getMaximumLikelihoodEstimate, getMean, getMean, getMLE, getParams, getStandardDeviation, getStandardDeviation, getVariance, getVariance, inverseF, inverseF, setLambda, toStringgetXinf, getXsup, inverseBisection, inverseBrent, setXinf, setXsuppublic ExponentialDistFromMean(double mean)
mean - the required mean.public void setMean(double mean)
setLambda
with argument 1/mean to change the mean of this distribution.mean - the new mean.To submit a bug or ask questions, send an e-mail to Pierre L'Ecuyer.