A collection of special function programs valid in the entire complex plane. Includes Gamma, loggamma, psi, polygamma, error, zeta, and others.
Editor's Note: Please note that these files have the same names as files already included with MATLAB. Being aware of where they are on your path will help you determine when you're using these files and not the MathWorks versions.
Programs to calculate the complex Gamma, complex LogGamma, complex error, complex psi, complex Riemann zeta, vectorized factorial, vectorized double factorial functions as well as Bernoulli, Euler, Genocchi, and totient numbers.
Paul Godfrey (2023). Special Functions math library (https://www.mathworks.com/matlabcentral/fileexchange/978-special-functions-math-library), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Inspired: Generation of Random Variates
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!
Update to my earlier submissions. Adds an arbitrary order complex polygamma function, pochhammer, harmonic sum. Includes complex gamma, loggamma, bernoulli, euler numbers, Riemann zeta, factorial, binomial, and other functions.