image thumbnail

HyperGeometric2F1(a​, b, z)

version (27.6 KB) by Vincent Wilms
Vectorized calculation of the gaussian hypergeometric function with p=2 and q=1.


Updated 09 Feb 2017

View License

The whole file is ported from C using this submission:
The idea is to provide a file that doesent need to be compiled. Additionally I vectorized the calculation to improve speed significantly. An example usage is given in the header of the file. Since I just translated the function from C to Matlab, I cannot guarantee that the results are always correct but I tested it using many different inputs. If you find any errors please write a comment.

Cite As

Vincent Wilms (2021). HyperGeometric2F1(a, b, z) (, MATLAB Central File Exchange. Retrieved .

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

Inspired by: Gauss hypergeometric function

Community Treasure Hunt

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

Start Hunting!