I have an interpolating function in Mathematica from solving a complicated differential equation. I want to then use the interpolating function directly in my other program, which is written in C++. Is there any possible way to export the interpolating function over?
My first solution was to just export a table of values of the interpolating function, and then re-interpolate it in C++, but that seems very slow and roundabout, especially because I will have to do this multiple times.
InterpolatingFunction
. $\endgroup$