Documentation API of the 'jhplot.math.num.special.Gamma' Java class
Gamma
jhplot.math.num.special

## Class Gamma

• `public final class Gammaextends Object`
Utility class that provides methods related to the gamma family of functions.
• ### Method Summary

All Methods
Modifier and TypeMethod 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).
• ### Methods inherited from class java.lang.Object

`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`
• ### Method Detail

• #### logGamma

`public static double logGamma(double x)`

Returns the natural logarithm of the gamma function Γ(x) (1).

References:

1. Eric W. Weisstein. "Gamma Function." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/GammaFunction.html

Parameters:
`x` - the point of evaluation.
Returns:
log(Γ(x))
• #### regularizedGammaP

`public static double regularizedGammaP(double a,                                       double x)                                throws NumericException`

Returns the regularized gamma function P(a, x) (1).

References:

1. Eric W. Weisstein. "Regularized Gamma Function." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/RegularizedGammaFunction.html

Parameters:
`x` - the evaluation point.
`a` - the a parameter.
Returns:
P(a, x)
Throws:
`NumericException` - if the value could not be computed.
• #### regularizedGammaQ

`public static double regularizedGammaQ(double a,                                       double x)                                throws NumericException`

Returns the regularized gamma function Q(a, x) = 1 - P(a, x) (1).

References:

1. Eric W. Weisstein. "Regularized Gamma Function." From MathWorld--A Wolfram Web Resource. http://mathworld.wolfram.com/RegularizedGammaFunction.html

Parameters:
`x` - the evaluation point.
`a` - the a parameter.
Returns:
Q(a, x)
Throws:
`NumericException` - if the value could not be computed.

DMelt 1.2 © DataMelt by jWork.ORG

Gamma
jhplot.math.num.special

## Class Gamma

• `public final class Gammaextends Object`
Utility class that provides methods related to the gamma family of functions.

Warning: You cannot see the full API documentation of this class since the access to the DatMelt documentation for third-party Java classes is denied. Guests can only view jhplot Java API. To view the complete description of this class and its methods, please request the full DataMelt membership.

If you are already a full member, please login to the DataMelt member area before visiting this documentation.