Incgamma
Definition
This function is used to calculate the incomplete Gamma function at x, with parameter a, which is denoted by: /math-2f31dd2b8ddb47540de766f5f5e867b5.png)
where
is the value of Gamma function at a. The parameters, a and x satisfy: a > 0 and x ≥ 0.
Syntax
double incgamma(double a, double x)
Parameters
a (input, double)
- The argument a of the function. Constraint: a > 0.
x (input, double)
- The argument x of the function. Constraint: x ≥ 0.
Return
Returns the value of the incomplete Gamma function at x, with parameter a.
Example
aa = incgamma(1, 5); aa = ; //0.99326205300093