|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.math.num.pdf.ContinuousDistribution
jhplot.math.num.pdf.Exponential
public class Exponential
The Exponential distribution (1).
References:
Constructor Summary | |
---|---|
Exponential()
Default constructor. |
|
Exponential(double m)
Create a distribution with the given mean. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Exponential()
public Exponential(double m)
m
- the mean.Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |