Special.IncompleteGamma Method

Definition

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

Overload List

IncompleteGamma(Double) Returns a function that evaluates the Incomplete Gamma function.
IncompleteGamma(Double, Double) Evaluates the Incomplete Gamma function.
IncompleteGamma(Double, Double, Double) Evaluates the incomplete Gamma function between two arguments.

IncompleteGamma(Double)

Returns a function that evaluates the Incomplete Gamma function.
C#
public static Func<double, double> IncompleteGamma(
	double a
)

Parameters

a  Double
A real number.

Return Value

Func<Double, Double>
A function that evaluates the incomplete Gamma function with parameter a.

Remarks

The term incomplete here refers to the fact that the integral in the definition of the Gamma function is taken from its second argument onwards instead of from 0.

IncompleteGamma(Double, Double)

Evaluates the Incomplete Gamma function.
C#
public static double IncompleteGamma(
	double a,
	double x
)

Parameters

a  Double
A real number.
x  Double
A real number.

Return Value

Double
The incomplete Gamma function for x

Remarks

The Gamma function is a generalization to real numbers of the factorial of an integer. If x is an integer, then the following equality holds: \1

The term incomplete here refers to the fact that the integral in the definition of the Gamma function is taken from x onwards instead of from 0.

IncompleteGamma(Double, Double, Double)

Evaluates the incomplete Gamma function between two arguments.
C#
public static double IncompleteGamma(
	double a,
	double x1,
	double x2
)

Parameters

a  Double
The shape parameter.
x1  Double
The first argument.
x2  Double
The second argument.

Return Value

Double
Gamma(a, x1) - Gamma(a, x2).

See Also