Gauss Hypergeometric Function

Gauss hypergeometric function for real z, z<1

You are now following this Submission

Computes the Gauss hypergeometric function 2F1(a,b;c;z) and its derivative for real z, z<1 by integrating the defining differential equation using the Matlab differential equation solver ode15i.

If 2F1 is to be evaluated for many different z for constant parameters a, b and c, it is suggested to call the function only once and use the output to create a piecewise polynomial approximation of 2F1.

Cite As

Robert Kohlleppel (2026). Gauss Hypergeometric Function (https://uk.mathworks.com/matlabcentral/fileexchange/21444-gauss-hypergeometric-function), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired: Generation of Random Variates

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0