GammaRelatedLnGamma(Double, Boolean) Method |
Calculates the double precision logarithm of the
absolute value of the Gamma function for double precision
argument x.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax 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
DoubleThe 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