2
$\begingroup$

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.

$\endgroup$
2

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.