Numerical Evaluation of the Gauss Hypergeometric Function with the hypergeo Package
Robin K. S. Hankin
, The R Journal (2015) 7:2, pages 81-88.
Abstract This paper introduces the hypergeo package of R routines for numerical calculation of hypergeometric functions. The package is focussed on efficient and accurate evaluation of the Gauss hypergeometric function over the whole of the complex plane within the constraints of fixed-precision arithmetic. The hypergeometric series is convergent only within the unit circle, so analytic continuation must be used to define the function outside the unit circle. This short document outlines the numerical and conceptual methods used in the package; and justifies the package philosophy, which is to maintain transparent and verifiable links between the software and Abramowitz and Stegun (1965). Most of the package functionality is accessed via the single function hypergeo(), which dispatches to one of several methods depending on the value of its arguments. The package is demonstrated in the context of game theory.
Received: 2014-12-16; online 2015-11-18@article{RJ-2015-022, author = {Robin K. S. Hankin}, title = {{Numerical Evaluation of the Gauss Hypergeometric Function with the hypergeo Package}}, year = {2015}, journal = {{The R Journal}}, doi = {10.32614/RJ-2015-022}, url = {https://doi.org/10.32614/RJ-2015-022}, pages = {81--88}, volume = {7}, number = {2} }