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

◆ Gammapi_sub()

Sub Gammapi_sub ( Ret As  Double,
A As  Double,
P As  Double,
Optional Info As  Long 
)

Inverse function of x for normalized incomplete gamma function P(a, x) (Subroutine version)

Purpose
Computes the inverse function of x for normalized incomplete gamma function P(a, x).
Parameters
[out]RetInverse function of x for normalized incomplete gamma function P(a, x).
[in]AArgument a. (A > 0)
[in]PArgument p. (0 <= P <= 1)
[out]Info= 0: Successful exit.
= -1: The argument A had an illegal value. (A <= 0)
= -2: The argument P had an illegal value. (P < 0 or P > 1)
= 1: Floating point range error.
Reference
boost/math/special_functions