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

◆ Gammapd_sub()

Sub Gammapd_sub ( Ret As  Double,
A As  Double,
X As  Double,
Optional Info As  Long 
)

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

Purpose
Computes the derivative of normalized incomplete gamma function P(a, x) with respect to x.
d/dx P(a, x) = exp(-x)*x^(a-1)/Γ(a)
Parameters
[out]RetDerivative of normalized incomplete gamma function P(a, x) with respect to x.
[in]AArgument a. (A > 0)
[in]XArgument 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