External Backends from Julia
Beyond the native Julia implementation in MeijerG.jl, there are a few other ways to evaluate Meijer G-functions from within Julia. Meijer G-functions can be subtle, so having independent backends for sanity checks is often useful.
Of the available options, we primarily recommend the following two:
- Calling Python
mpmathviaPyCall.jl(free and open source). - Calling Wolfram Mathematica via
MathLink.jl(requires a Wolfram Mathematica license).
We show how to get the mpmath option running since it's simpler, free and open source. See the MathLink.jl docs for hints on how to set up the Mathematica version.
mpmath via PyCall
A helper file to set up mpmath's Meijer-G function to be callable in a similar style to the rest of this package (including both calling APIs) is provided as part of MeijerG.jl in extras/meijerg_mpmath.jl.