Special.Gamma Method

Definition

Namespace: Numerics.NET
Assembly: Numerics.NET (in Numerics.NET.dll) Version: 9.0.2

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