|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjhplot.math.num.special.Gamma
public final class Gamma
Utility class that provides methods related to the gamma family of functions.
Method Summary | |
---|---|
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). |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
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.
|
|||||||||
PREV CLASS NEXT CLASS | All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |