Skip to main content
SHARE
Publication

Fast Computation of the Gauss Hypergeometric Function with All Its Parameters Complex with Application to the Poeschl-Teller-...

by N. Michel, Mario V Stoitsov
Publication Type
Journal
Journal Name
Computer Physics Communications
Publication Date
Page Numbers
535 to 551
Volume
178
Issue
7

The fast computation of the Gauss hypergeometric function _{2}F_{1} with all its parameters complex is a difficult task. Although the _{2}F_{1} function verifies numerous analytical properties involving power series expansions whose implementation is apparently immediate, their use is thwarted by instabilities induced by cancellations between very large terms. Furthermore, small areas of the complex plane are inaccessible using only _{2}F_{1} power series formulas, thus rendering _{2}F_{1} evaluations impossible on a purely analytical basis. In order to solve these problems, a generalization of R. Forrey's transformation theory has been developed. The latter has been successful in treating the _{2}F_{1} function with real parameters. As in real case trnsformation theory, the large canceling terms occurring in _{2}F_{1} analytical formulas are rigorously dealt with, but by way of a new method, directly applicable to the complex plane. Taylor series expansions are employed to enter complex areas outside the domain of validity of power series analytical formulas. The proposed algorithm, however, becomes unstable in general when |a|, |b|, |c| are moderate or large. As a physical application, the calculation of the wave functions of the analytical Poeschl-Teller-Ginocchio potential involving _{2}F_{1} evaluations is considered.