public interface Distribution extends Named, java.lang.Cloneable
Modifier and Type | Method and Description |
---|---|
double |
ccdf(double x) |
double |
cdf(double x) |
java.lang.Object[] |
getCannonicalParameters() |
double |
getMaximum() |
double |
getMean() |
double |
getMedian() |
double |
getMinimum() |
java.lang.Object[] |
getParameters() |
double |
getStandardDeviation() |
double |
getVariance() |
void |
setCannonicalParameters(java.lang.Object... params) |
void |
setMean(double mean) |
void |
setParameters(java.lang.Object... params) |
void |
setStandardDeviation(double standardDeviation) |
void |
setVariance(double variance) |
double getMean()
void setMean(double mean)
mean
- the mean of this distribution.double getVariance()
void setVariance(double variance)
variance
- the variance of this distribution.double getStandardDeviation()
void setStandardDeviation(double standardDeviation)
standardDeviation
- the standard deviation for this distribution.double getMedian()
double getMinimum()
double getMaximum()
void setCannonicalParameters(java.lang.Object... params)
params
- the parameters necessary to define this distribution.
The meaning of these is determined by the implementation.java.lang.Object[] getCannonicalParameters()
void setParameters(java.lang.Object... params)
params
- the parameters necessary to define this distribution.
The meaning of these is determined by the implementation.java.lang.Object[] getParameters()
double cdf(double x)
x
- Given valuedouble ccdf(double x)
x
- Given value