hypergeomq

Fast evaluation of the generalized hypergeometric function

https://github.com/horchler/hypergeomq

You are now following this Submission

Fast evaluation of the generalized hypergeometric function.

hypergeomq(N,D,Z) evaluates the generalized hypergeometric function for the vector parameters N and D at the values in the array Z. N, D, and Z can be any numeric or logical datatype and may be complex. The output will have the same dimensions as Z and will be double-precision unless Z is single-precision, in which case, the output will be as well.

hypergeomq uses the same low-level function as hypergeom, but implements several optimizations to achieve a performance boost of approximately an order of magnitude. Results from the two functions should agree to the precision of the inputs. Additionaly, hypergeomq can avoid some errors due to singularities that can occur when hypergeom is evaluated with numeric Z values.

Cite As

Andrew Horchler (2026). hypergeomq (https://github.com/horchler/hypergeomq), GitHub. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux

Versions that use the GitHub default branch cannot be downloaded

Version Published Release Notes Action
1.1.0.0

Improved description

To view or report issues in this GitHub add-on, visit the GitHub Repository.
To view or report issues in this GitHub add-on, visit the GitHub Repository.