Generalized Hypergeometric Function
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.
Citation pour cette source
Ben Barrowes (2024). Generalized Hypergeometric Function (https://www.mathworks.com/matlabcentral/fileexchange/5616-generalized-hypergeometric-function), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Plateformes compatibles
Windows macOS LinuxCatégories
- AI and Statistics > Statistics and Machine Learning Toolbox > Probability Distributions > Discrete Distributions > Hypergeometric Distribution >
Tags
Remerciements
A inspiré : Generation of Random Variates
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
Version | Publié le | Notes de version | |
---|---|---|---|
1.0.0.0 | Fixed backward compatibility problem. |