XLPack 6.1
Excel VBA Numerical Library Reference Manual
Loading...
Searching...
No Matches

◆ Hyp2f0()

Function Hyp2f0 ( A1 As  Double,
A2 As  Double,
Z As  Double,
Optional Info As  Long 
)

Hypergeometric function 2F0(a1, a2; z)

Purpose
This routine computes the hypergeometric function 2F0(a1, a2; z).
2F0(a1, a2; z) = Σ(a1)k * (a2)k * z^k / k! (k = 1 to ∞)
Returns
Double
2F0(a1, a2; z).
Parameters
[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