Click or drag to resize

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.Calc
Assembly: AltaxoCore (in AltaxoCore.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
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

Double
The logarithm of the absolute value of the gamma function.
Remarks
C#
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