Special.Gamma Method

Definition

Namespace: Extreme.Mathematics
Assembly: Extreme.Numerics (in Extreme.Numerics.dll) Version: 8.1.23

Overload List

Gamma(Complex<Double>) Returns the value of the Gamma function for the specified number.
Gamma(Double) 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.
C#
public static Complex<double> Gamma(
	Complex<double> z
)

Parameters

z  Complex<Double>
A complex number number.

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.
C#
public static double Gamma(
	double x
)

Parameters

x  Double
A real number.

Return Value

Double
The 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:

See Also