XLPack 7.0
XLPack Numerical Library (Excel VBA) Reference Manual
Loading...
Searching...
No Matches

◆ Gamratio()

Function Gamratio ( A As  Double,
B As  Double,
Optional Info As  Long 
)

Ratio of gamma functions Γ(a)/Γ(b)

Purpose
Computes the ratio of gamma functions Γ(a)/Γ(b).
Returns
Double
Ratio of gamma functions Γ(a)/Γ(b).
Parameters
[in]AArgument a. (A > 0)
[in]BArgument b. (B > 0)
[out]info= 0: Successful exit.
= -1: The argument A had an illegal value. (A <= 0)
= -2: The argument B had an illegal value. (B <= 0)
= 1: Floating point range error.
Reference
boost/math/special_functions