org.apache.commons.math.distribution
Interface GammaDistribution

All Superinterfaces:
ContinuousDistribution, Distribution, HasDensity<Double>
All Known Implementing Classes:
GammaDistributionImpl

public interface GammaDistribution
extends ContinuousDistribution, HasDensity<Double>

The Gamma Distribution.

References:

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

Method Summary
 double density(Double x)
          Return the probability density for a particular point.
 double getAlpha()
          Access the shape parameter, alpha
 double getBeta()
          Access the scale parameter, beta
 void setAlpha(double alpha)
          Modify the shape parameter, alpha.
 void setBeta(double beta)
          Modify the scale parameter, beta.
 
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

setAlpha

void setAlpha(double alpha)
Modify the shape parameter, alpha.

Parameters:
alpha - the new shape parameter.

getAlpha

double getAlpha()
Access the shape parameter, alpha

Returns:
alpha.

setBeta

void setBeta(double beta)
Modify the scale parameter, beta.

Parameters:
beta - the new scale parameter.

getBeta

double getBeta()
Access the scale parameter, beta

Returns:
beta.

density

double density(Double x)
Return the probability density for a particular point.

Specified by:
density in interface HasDensity<Double>
Parameters:
x - The point at which the density should be computed.
Returns:
The pdf at point x.


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.