Click or drag to resize

NMathFunctionsIncompleteGamma(Double, Double, Boolean) Method

Note: This API is now obsolete.

Returns the incomplete gamma function P(a,x) or its complement 1.0 - P(a,x) for for the parameter a and value x.

Namespace: CenterSpace.NMath.Core
Assembly: NMath (in NMath.dll) Version: 7.4
Syntax
[ObsoleteAttribute("Instead use SpecialFunctions.IncompleteGamma()")]
public static double IncompleteGamma(
	double a,
	double x,
	bool complement
)

Parameters

a  Double
A parameter describing the incomplete gamma function.
x  Double
A point on the x-axis.
complement  Boolean
If true the complement, 1.0 - P(a,x) will be computed. otherwise P(a,x) will be computed.

Return Value

Double
The integral from x to infinity of (t^(a-1) * e^-t)dt.
See Also