Click or drag to resize

SpecialFunctionsGamma Method

The gamma function. Returns
C#
Double.NaN
for all x = { 0, -1, -2, ... }.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
public static double Gamma(
	double x
)

Parameters

x  Double
Any real number.

Return Value

Double
Remarks
The gamma function is analytic everywhere except at x = { 0, -1, -2, ... }. For x an integer Gamma( n ) = (n - 1)! and conceptually serves as a generalization of the factorial.
See Also