public class Gamma extends DoubleConstants
Implementation:
Modifier and Type | Method and Description |
---|---|
static double |
beta(double a,
double b)
Returns the beta function of the arguments.
|
static double |
gamma(double x)
Returns the Gamma function of the argument.
|
static double |
incompleteBeta(double aa,
double bb,
double xx)
Returns the Incomplete Beta Function evaluated from zero to xx;
formerly named ibeta.
|
static double |
incompleteGamma(double a,
double x)
Returns the Incomplete Gamma function; formerly named igamma.
|
static double |
incompleteGammaComplement(double a,
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 a, double b) throws ArithmeticException
- - | (a) | (b) beta( a, b ) = -----------. - | (a+b)
ArithmeticException
public static double gamma(double x) throws ArithmeticException
ArithmeticException
public static double incompleteBeta(double aa, double bb, double xx) throws ArithmeticException
aa
- the alpha parameter of the beta distribution.bb
- the beta parameter of the beta distribution.xx
- the integration end point.ArithmeticException
public static double incompleteGamma(double a, double x) throws ArithmeticException
a
- the parameter of the gamma distribution.x
- the integration end point.ArithmeticException
public static double incompleteGammaComplement(double a, double x) throws ArithmeticException
a
- the parameter of the gamma distribution.x
- the integration start point.ArithmeticException
public static double logGamma(double x) throws ArithmeticException
ArithmeticException
Jump to the Parallel Colt Homepage