Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Mata implementation of Mittag-Leffler function

    I have just completed a port to Mata of Roberto Garrappa's MATLAB implementation of his algorithm for computing the generalized Mittag-Leffler function.

    The paper on the method is:
    R. Garrappa, Numerical evaluation of two and three parameter Mittag-Leffler functions, SIAM Journal of Numerical Analysis, 2015, 53(3), 1350-69.

    The MATLAB code, with basic documentation, is at https://www.mathworks.com/matlabcent...ffler-function

    This is a direct port: the syntax and functionality remain the same.

    The code sits in a GIthub repository: https://github.com/droodman/Mittag-Leffler-for-Stata
    Only one file is needed, MittagLeffler.mata. You can download it directly from there. Or in Stata, type

    Code:
    net from https://raw.github.com/droodman/Mittag-Leffler-for-Stata/master
    Then follow the links to download MittagLeffler.mata.

    To use the program, you'll need to manually compile MittagLeffler.mata. Just run it once as if it were a do file. That will make the mlf() function permanently available.

    --David
Working...
X