Special.Log Gamma Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.4
Overload List
Log | Returns the natural logarithm of the Gamma function for the specified complex number number. |
Log | Returns the natural logarithm of the Gamma function for the specified number. |
Log | Evaluates the natural logarithm of the Gamma function and returns the sign as an out parameter. |
LogGamma(Complex<Double>)
Returns the natural logarithm of the Gamma function
for the specified complex number number.
public static Complex<double> LogGamma(
Complex<double> z
)
Parameters
Return Value
Complex<Double>The natural logarithm of the Gamma function for z
Remarks
The Gamma function is a generalization to complex numbers of the factorial of an integer. If z is an integer, then the following equality holds: \1
LogGamma(Double)
Returns the natural logarithm of the Gamma function
for the specified number.
public static double LogGamma(
double x
)
Parameters
- x Double
- A real number.
Return Value
DoubleThe 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
LogGamma(Double, Int32)
Evaluates the natural logarithm of the Gamma function and returns the
sign as an out parameter.
public static double LogGamma(
double x,
out int sign
)
Parameters
Return Value
DoubleThe logarithm of the Gamma function.