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

◆ Hyp2f1_sub()

Sub Hyp2f1_sub ( Ret As  Double,
A1 As  Double,
A2 As  Double,
B As  Double,
Z As  Double,
Optional Info As  Long,
Optional Abserr As  Double 
)

Hypergeometric function 2F1(a1, a2; b; z) (Gaussian hypergeometric function) (Subroutine version)

Purpose
Computes the hypergeometric function 2F1(a1, a2; b; z).
2F1(a1, a2; b; z) = Σ(a1)k*(a2)k/(b)k * z^k/k! (k = 1 to ∞)
Parameters
[out]RetHypergeometric function 2F1(a1, a2; b; z).
[in]A1Argument a1.
[in]A2Argument a2.
[in]BArgument b.
[in]ZArgument z.
[out]Info(Optional)
= 0: Successful exit.
= -1: The argument A1, A2, B or Z had an illegal value. (domain error)
= 1: Floating point range error.
[out]Abserr(Optional)
Estimated absolute error.
Note
This function computes by using Hyppfq.
Depending on the values of arguments domain error may occur.
Reference
boost/math/special_functions