org.apache.commons.math.distribution
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:

Version:
$Revision: 693598 $ $Date: 2008-09-09 16:37:08 -0400 (Tue, 09 Sep 2008) $

Method Summary
 double density(java.lang.Double x)
          Return the probability density for a particular point.
 double getMean()
          Access the mean.
 void setMean(double mean)
          Modify the mean.
 
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

void setMean(double mean)
Modify 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:
density in interface HasDensity<java.lang.Double>
Parameters:
x - The point at which the density should be computed.
Returns:
The pdf at point x.


Copyright (c) 2003-2009 Apache Software Foundation