GammaRelatedLnGamma(Double, Double, Boolean) Method |
LnGamma(x,sgn) returns the double precision natural
logarithm of the absolute value of the Gamma function for
double precision argument x. The sign of the gamma function
is returned in sgn.
Namespace: Altaxo.CalcAssembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax public static double LnGamma(
double x,
out double sgn,
bool bDebug
)
Parameters
- x Double
- The function argument x.
- sgn Double
- The sign of the gamma function.
- 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 DLGAMS, SLATEC, FNLIB,
CATEGORY C7A, REVISION 891214, originally written by Fullerton W.,(LANL)
to C++.
Routines called:
LnGamma(x)
See Also