org.apache.commons.math.distribution
Interface GammaDistribution

All Superinterfaces:
ContinuousDistribution, Distribution
All Known Implementing Classes:
GammaDistributionImpl

public interface GammaDistribution
extends ContinuousDistribution

The Gamma Distribution. Instances of GammaDistribution objects should be created using DistributionFactory.createGammaDistribution(double,double).

References:

Version:
$Revision: 1.15 $ $Date: 2004/06/23 16:26:15 $

Method Summary
 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

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

Parameters:
alpha - the new shape parameter.

getAlpha

public double getAlpha()
Access the shape parameter, alpha

Returns:
alpha.

setBeta

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

Parameters:
beta - the new scale parameter.

getBeta

public double getBeta()
Access the scale parameter, beta

Returns:
beta.


Copyright © 2003-2004 The Apache Software Foundation. All Rights Reserved.