AdvancedMathLowerIncompleteGamma Method

Computes the lower (left) incomplete (small) gamma function.

Definition

Namespace: Meta.Numerics.Functions
Assembly: Meta.Numerics (in Meta.Numerics.dll) Version: 4.2.0+6d77d64445f7d5d91b12e331399c4362ecb25333
C#
public static double LowerIncompleteGamma(
	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 incomplete Gamma function is obtained by carrying out the Gamma function integration from zero to some finite value x, instead of to infinity. It therefore ranges from zero to γ(a) as x varies from zero to infinity.

Exceptions

ArgumentOutOfRangeExceptiona is negative, or x is negative.

See Also