An algorithm for the evaluation of the incomplete gamma function
- 14 Downloads
We introduce an algorithm for the evaluation of the Incomplete Gamma Function, P(m, x), for all m, x > 0. For small m, a classical recursive scheme is used to evaluate P(m, x), whereas for large m a newly derived asymptotic expansion is used. The number of operations required for evaluation is O(1) for all x and m. Nearly full double and extended precision accuracies are achieved in their respective environments. The performance of the scheme is illustrated via several numerical examples.
KeywordsIncomplete gamma function Special functions Numerical evaluation
Mathematics Subject Classification (2010)33B15
Unable to display preview. Download preview PDF.
- 3.Feller, W.: An Introduction to Probability and Its Applications, 3rd Ed, vol. 1. Wiley, New York (1968)Google Scholar
- 6.Gradshteyn, I.S., Ryzhik, I.M. In: Jeffrey, A., Zwillinger, D. (eds.) : Table of Integrals, Series, and Products. Academic Press, San Diego (2000)Google Scholar
- 10.Temme, N.M.: On the Computation of the Incomplete Gamma Functions for Large Values of the Parameters. Algorithms for Approximation, pp. 479–489. Clarendon Press, New York (1987)Google Scholar