public final class Gamma extends Object
Modifier and Type | Method and Description |
---|---|
static double |
logGamma(double x)
Returns the natural logarithm of the gamma function Γ(x) (1).
|
static double |
regularizedGammaP(double a,
double x)
Returns the regularized gamma function P(a, x) (1).
|
static double |
regularizedGammaQ(double a,
double x)
Returns the regularized gamma function Q(a, x) = 1 - P(a, x) (1).
|
public static double logGamma(double x)
Returns the natural logarithm of the gamma function Γ(x) (1).
References:
x
- the point of evaluation.public static double regularizedGammaP(double a, double x) throws NumericException
Returns the regularized gamma function P(a, x) (1).
References:
x
- the evaluation point.a
- the a parameter.NumericException
- if the value could not be computed.public static double regularizedGammaQ(double a, double x) throws NumericException
Returns the regularized gamma function Q(a, x) = 1 - P(a, x) (1).
References:
x
- the evaluation point.a
- the a parameter.NumericException
- if the value could not be computed.Jas4pp 1.5 © Java Analysis Studio for Particle Physics