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

◆ Hyp2f0_sub()

Sub Hyp2f0_sub ( Ret As  Double,
A1 As  Double,
A2 As  Double,
Z As  Double,
Optional Info As  Long 
)

Hypergeometric function 2F0(a1, a2; z) (Subroutine version)

Purpose
Computes the hypergeometric function 2F0(a1, a2; z).
2F0(a1, a2; z) = Σ(a1)k * (a2)k * z^k / k! (k = 1 to ∞)
Parameters
[out]RetHypergeometric function 2F0(a1, a2; z).
[in]A1Argument a1. (One of A1 or A2 must be a negative integer)
[in]A2Argument a2. (One of A1 or A2 must be a negative integer)
[in]ZArgument z.
[out]Info(Optional)
= 0: Successful exit.
= -1: The argument A1 or A2 had an illegal value. (Both A1 and A2 are not negative integers))
= 1: Floating point range error.
Reference
boost/math/special_functions