Returns the logarithm of the Gamma function of the absolute value of
a double.
Namespace: Imsl.MathAssembly: ImslCS (in ImslCS.dll) Version: 6.5.2.0
Syntax public static double LogGamma(
double x
)
Public Shared Function LogGamma (
x As Double
) As Double
public:
static double LogGamma(
double x
)
static member LogGamma :
x : float -> float
Parameters
- x
- Type: SystemDouble
A double value.
Return Value
Type:
Double
A
double value specifying the natural logarithm of the Gamma
function of
. If x is a negative integer, the
result is NaN.
Remarks
Method LogGamma computes . See Gamma for the
definition of .
The Gamma function is not defined for integers less than or equal to
zero. Also, must not be so
large that the result overflows. Neither should x be so
close to a negative integer that the accuracy is worse than half
precision.
See Also