AdvancedMathUpperIncompleteGamma Method

Computes the upper (right) incomplete (big) gamma function.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double UpperIncompleteGamma(
	double a,
	double x
)

Parameters

a  Double
The shape parameter, which must be non-negative.
x  Double
The argument, which must be non-negative.

Return Value

Double
The value of Γ(a,x).

Remarks

The upper incomplete Gamma function is obtained by carrying out the Gamma function integration from x to infinity. It therefore ranges from Γ(a) to zero as x varies from zero to infinity.

Exceptions

ArgumentOutOfRangeExceptiona is negative, or x is negative.

See Also