Generalized Hypergeometric Function

Calculates the Generalized Hypergeometric Function at the desired accuracy.
9.1K Downloads
Updated 6 Jan 2005

View License

A numerical evaluator for the generalized hypergeometric function for complex arguments with large magnitudes using a direct summation of the Gauss series.

pFq isdefined by (borrowed from Maple):
pFq = sum(z^k / k! * product(pochhammer(n[i], k), i=1..p) / product(pochhammer(d[j], k), j=1..q), k=0..infinity )

The desired accuracy (number of digits) can be specified as a parameter.

This function is a translation from the original fortran77 source code written by W. F. Perger from the Michigan Technological University.

Cite As

Ben Barrowes (2024). Generalized Hypergeometric Function (https://www.mathworks.com/matlabcentral/fileexchange/5616-generalized-hypergeometric-function), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R14
Compatible with any release
Platform Compatibility
Windows macOS Linux
Acknowledgements

Inspired: Generation of Random Variates

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Published Release Notes
1.0.0.0

Fixed backward compatibility problem.