|
|
◆ Gammaq_sub()
| Sub Gammaq_sub |
( |
Ret As |
Double, |
|
|
A As |
Double, |
|
|
X As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Normalized complementary incomplete gamma function Q(a, x) (Subroutine version)
- Purpose
- Computes the normalized complementary incomplete gamma function Q(a, x).
Q(a, x) = Γ(a, x)/Γ(a) = (1/Γ(a))∫ t^(a-1)*exp(-t) dt [x, ∞]
- Parameters
-
| [out] | Ret | Normalized complementary incomplete gamma function Q(a, x). |
| [in] | A | Argument a. (A > 0) |
| [in] | X | Argument x. (X >= 0) |
| [out] | Info | = 0: Successful exit.
= -1: The argument A had an illegal value. (A <= 0)
= -2: The argument X had an illegal value. (X < 0)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|