Special.LogGamma(Double) Method

Returns the natural logarithm of the Gamma function for the specified number.

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23
C#
public static double LogGamma(
	double x
)

Parameters

x  Double
A real number.

Return Value

Double
The natural logarithm of the Gamma function for x

Remarks

The Gamma function is a generalization to real numbers of the factorial of an integer. If x is an integer, then the following equality holds: \1

See Also