Meta.Numerics Library
Gamma Method (a, x)
Meta.NumericsMeta.Numerics.FunctionsAdvancedMathGamma(Double, Double)
Computes the upper incomplete Gamma function.
Declaration Syntax
C#Visual BasicVisual C++F#
public static double Gamma(
	double a,
	double x
)
Public Shared Function Gamma ( _
	a As Double, _
	x As Double _
) As Double
public:
static double Gamma(
	double a, 
	double x
)
static member Gamma : 
        a:float * 
        x:float -> float 
Parameters
a (Double)
The shape parameter, which must be positive.
x (Double)
The argument, which must be non-negative.
Return Value
The value of Γ(a,x).
Remarks

The incomplete Gamma function is defined by the same integrand as the Gamma function (Gamma(Double)), but the integral is not taken over the full positive real axis.

Like the Γ function itself, this function gets large very quickly. For most purposes, you will prefer to use the regularized incomplete gamma functions LeftRegularizedGamma(Double, Double) and RightRegularizedGamma(Double, Double).

See Also