Interface ExponentialDistribution
-
- All Superinterfaces:
ContinuousDistribution,Distribution,HasDensity<java.lang.Double>
- All Known Implementing Classes:
ExponentialDistributionImpl
public interface ExponentialDistribution extends ContinuousDistribution, HasDensity<java.lang.Double>
The Exponential Distribution.References:
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description doubledensity(java.lang.Double x)Return the probability density for a particular point.doublegetMean()Access the mean.voidsetMean(double mean)Deprecated.as of v2.1-
Methods inherited from interface org.apache.commons.math.distribution.ContinuousDistribution
inverseCumulativeProbability
-
Methods inherited from interface org.apache.commons.math.distribution.Distribution
cumulativeProbability, cumulativeProbability
-
-
-
-
Method Detail
-
setMean
@Deprecated void setMean(double mean)
Deprecated.as of v2.1Modify the mean.- Parameters:
mean- the new mean.
-
getMean
double getMean()
Access the mean.- Returns:
- the mean.
-
density
double density(java.lang.Double x)
Return the probability density for a particular point.- Specified by:
densityin interfaceHasDensity<java.lang.Double>- Parameters:
x- The point at which the density should be computed.- Returns:
- The pdf at point x.
-
-