Click or drag to resize

GammaRelatedLnGamma(Double, Boolean) Method

Calculates the double precision logarithm of the absolute value of the Gamma function for double precision argument x.

Namespace: Altaxo.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public static double LnGamma(
	double x,
	bool bDebug
)

Parameters

x  Double
The function argument x.
bDebug  Boolean
If true, an exception is thrown if serious errors occur. If false, NaN is returned on errors.

Return Value

Double
The logarithm of the absolute value of the Gamma function.
Remarks
This is a translation from the Fortran version of DLNGAM, SLATEC, FNLIB, CATEGORY C7A, REVISION 900727, originally written by Fullerton W.,(LANL) to C++. Routines called: Gamma(x) d9lgmc(x)
See Also