Package jline.lang.processes
Class Exp
java.lang.Object
jline.lang.processes.Distribution
jline.lang.processes.ContinuousDistribution
jline.lang.processes.Markovian
jline.lang.processes.Exp
- All Implemented Interfaces:
Serializable
An exponential distribution.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiondouble
evalCDF
(double t) double
evalLST
(double s) static Exp
fitMean
(double MEAN) static Exp
fitRate
(double RATE) double
getMean()
long
double
getRate()
double
getSCV()
double
double
getVar()
double[]
sample
(int n) double[]
toString()
void
updateRate
(double rate) Methods inherited from class jline.lang.processes.Markovian
D, evalCDF, evalMeanT, evalVarT, getACF, getEmbedded, getEmbeddedProb, getIDC, getIDI, getInitProb, getMoments, getMu, getPhi, getProcess, getSubgenerator, getVariance, setMean, setProcess, setRate
Methods inherited from class jline.lang.processes.Distribution
evalProbInterval, getName, getNumParams, getParam, getSupport, isContinuous, isDisabled, isDiscrete, isImmediate, setNumParams, setParam
-
Constructor Details
-
Exp
public Exp(double lambda)
-
-
Method Details
-
fitMean
-
fitRate
-
sample
public double[] sample(int n) -
sample
-
getNumberOfPhases
public long getNumberOfPhases()- Overrides:
getNumberOfPhases
in classMarkovian
-
evalCDF
public double evalCDF(double t) -
evalLST
public double evalLST(double s) -
updateRate
public void updateRate(double rate) -
getSCV
public double getSCV() -
getRate
public double getRate() -
getMean
public double getMean() -
getVar
public double getVar() -
getSkewness
public double getSkewness()- Overrides:
getSkewness
in classMarkovian
-
toString
-