Note: run make_hyp2f1.m to compile mex files first!
Accurately compute real valued Gauss hypergeometric funciton 2F1(a,b;c;d) using c source files from SciPy.
Much faster than the HYPERGEOM function from symbolic math toolbox. In some cases it is more accurate than HYPERGEOM as well.
Equivalent of scipy.special.hyp2f1()
Tested on a 64-bit windows 7 and 64-bit CentOS 6.3
Siyi Deng (2021). Gauss hypergeometric function (https://www.mathworks.com/matlabcentral/fileexchange/43865-gauss-hypergeometric-function), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: HyperGeometric2F1(a, b, z)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!