Special Functions math library

Collection of Special Functions programs.

You are now following this Submission

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.

Cite As

Paul Godfrey (2026). Special Functions math library (https://uk.mathworks.com/matlabcentral/fileexchange/978-special-functions-math-library), 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

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.