public final class Gamma extends Object
Modifier and Type | Method and Description |
---|---|
static double |
beta(double alpha,
double beta)
Returns the beta function of the arguments.
|
static double |
gamma(double x)
Returns the Gamma function of the argument.
|
static double |
incompleteBeta(double alpha,
double beta,
double xx)
Returns the regularized Incomplete Beta Function evaluated from zero to xx; formerly named ibeta.
|
static double |
incompleteGamma(double alpha,
double x)
Returns the Incomplete Gamma function; formerly named igamma.
|
static double |
incompleteGammaComplement(double alpha,
double x)
Returns the Complemented Incomplete Gamma function; formerly named igamc.
|
static double |
logGamma(double x)
Returns the natural logarithm of the gamma function; formerly named lgamma.
|
public static double beta(double alpha, double beta)
- - | (a) | (b) beta( a, b ) = -----------. - | (a+b)
alpha
- beta
- public static double gamma(double x)
public static double incompleteBeta(double alpha, double beta, double xx)
alpha
- the alpha parameter of the beta distribution.beta
- the beta parameter of the beta distribution.xx
- the integration end point.public static double incompleteGamma(double alpha, double x)
alpha
- the shape parameter of the gamma distribution.x
- the integration end point.public static double incompleteGammaComplement(double alpha, double x)
alpha
- the shape parameter of the gamma distribution.x
- the integration start point.public static double logGamma(double x)
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.