Special.Gamma Method
Definition
Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2
Overload List
Gamma( | Returns the value of the Gamma function for the specified number. |
Gamma( | Returns the value of the Gamma function for the specified number. |
Gamma(Complex<Double>)
Returns the value of the Gamma function for the specified number.
public static Complex<double> Gamma(
Complex<double> z
)
Parameters
Return Value
Complex<Double>The complex number value of the Gamma function for z
Remarks
The formal definition of the Gamma function is as follows:
Gamma(Double)
Returns the value of the Gamma function for the specified number.
public static double Gamma(
double x
)
Parameters
- x Double
- A real number.
Return Value
DoubleThe value 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 a positive integer, then the following equality holds: \1
The formal definition of the Gamma function is as follows: