org.apache.mahout.math.jet.stat
Class Gamma

java.lang.Object
  extended by org.apache.mahout.math.jet.math.Constants
      extended by org.apache.mahout.math.jet.stat.Gamma

Deprecated. until unit tests are in place. Until this time, this class/interface is unsupported.

@Deprecated
public class Gamma
extends Constants


Field Summary
 
Fields inherited from class org.apache.mahout.math.jet.math.Constants
big, biginv, LOGPI, MACHEP, MAXGAM, MAXLOG, MINLOG, SQRTH, SQTPI
 
Constructor Summary
protected Gamma()
          Deprecated. Makes this class non instantiable, but still let's others inherit from it.
 
Method Summary
static double beta(double a, double b)
          Deprecated. Returns the beta function of the arguments.
static double gamma(double x)
          Deprecated. Returns the Gamma function of the argument.
static double incompleteBeta(double aa, double bb, double xx)
          Deprecated. Returns the Incomplete Beta Function evaluated from zero to xx; formerly named ibeta.
static double incompleteGamma(double a, double x)
          Deprecated. Returns the Incomplete Gamma function; formerly named igamma.
static double incompleteGammaComplement(double a, double x)
          Deprecated. Returns the Complemented Incomplete Gamma function; formerly named igamc.
static double logGamma(double x)
          Deprecated. Returns the natural logarithm of the gamma function; formerly named lgamma.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Gamma

protected Gamma()
Deprecated. 
Makes this class non instantiable, but still let's others inherit from it.

Method Detail

beta

public static double beta(double a,
                          double b)
                   throws java.lang.ArithmeticException
Deprecated. 
Returns the beta function of the arguments.
                   -     -
                  | (a) | (b)
 beta( a, b )  =  -----------.
                     -
                    | (a+b)
 

Throws:
java.lang.ArithmeticException

gamma

public static double gamma(double x)
                    throws java.lang.ArithmeticException
Deprecated. 
Returns the Gamma function of the argument.

Throws:
java.lang.ArithmeticException

incompleteBeta

public static double incompleteBeta(double aa,
                                    double bb,
                                    double xx)
                             throws java.lang.ArithmeticException
Deprecated. 
Returns the Incomplete Beta Function evaluated from zero to xx; formerly named ibeta.

Parameters:
aa - the alpha parameter of the beta distribution.
bb - the beta parameter of the beta distribution.
xx - the integration end point.
Throws:
java.lang.ArithmeticException

incompleteGamma

public static double incompleteGamma(double a,
                                     double x)
                              throws java.lang.ArithmeticException
Deprecated. 
Returns the Incomplete Gamma function; formerly named igamma.

Parameters:
a - the parameter of the gamma distribution.
x - the integration end point.
Throws:
java.lang.ArithmeticException

incompleteGammaComplement

public static double incompleteGammaComplement(double a,
                                               double x)
                                        throws java.lang.ArithmeticException
Deprecated. 
Returns the Complemented Incomplete Gamma function; formerly named igamc.

Parameters:
a - the parameter of the gamma distribution.
x - the integration start point.
Throws:
java.lang.ArithmeticException

logGamma

public static double logGamma(double x)
                       throws java.lang.ArithmeticException
Deprecated. 
Returns the natural logarithm of the gamma function; formerly named lgamma.

Throws:
java.lang.ArithmeticException


Copyright © 2008-2010 The Apache Software Foundation. All Rights Reserved.