Returns the value of the Gamma function for the specified number.
Namespace:
Extreme.Mathematics
Assembly:
Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.1
public static double Gamma(
double x
)
Public Shared Function Gamma (
x As Double
) As Double
public:
static double Gamma(
double x
)
static member Gamma :
x : float -> float
Parameters
- x
- Type: SystemDouble
A real number.
Return Value
Type:
DoubleThe value of the Gamma function for
x
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:

Reference