public class Gamma extends Constants
Implementation:
| Modifier | Constructor and Description |
|---|---|
protected |
Gamma()
Makes this class non instantiable, but still let's others inherit from it.
|
| 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.
|
protected Gamma()
public static double beta(double a,
double b)
throws ArithmeticException
- -
| (a) | (b)
beta( a, b ) = -----------.
-
| (a+b)
ArithmeticExceptionpublic static double gamma(double x)
throws ArithmeticException
ArithmeticExceptionpublic 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.ArithmeticExceptionpublic static double incompleteGamma(double a,
double x)
throws ArithmeticException
a - the parameter of the gamma distribution.x - the integration end point.ArithmeticExceptionpublic static double incompleteGammaComplement(double a,
double x)
throws ArithmeticException
a - the parameter of the gamma distribution.x - the integration start point.ArithmeticExceptionpublic static double logGamma(double x)
throws ArithmeticException
ArithmeticExceptionCopyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.