|
|
◆ Gamdratio()
| Function Gamdratio |
( |
A As |
Double, |
|
|
Delta As |
Double, |
|
|
Optional Info As |
Long |
|
) |
| |
Ratio of gamma functions Γ(a)/Γ(a + δ)
- Purpose
- Computes the ratio of gamma functions Γ(a)/Γ(a + δ).
The result is computed accurately even when δ is small compared to a.
- Returns
- Double
Ratio of gamma functions Γ(a)/Γ(a + δ).
- Parameters
-
| [in] | A | Argument a. (A > 0) |
| [in] | Delta | Argument δ. (A + Delta > 0) |
| [out] | Info | = 0: Successful exit.
= -1: The argument A had an illegal value. (A <= 0)
= -2: The argument Delta had an illegal value. (A + Delta <= 0)
= 1: Floating point range error. |
- Reference
- boost/math/special_functions
|