Hello,
I formulated a long expression using sympy. I have to say, when I pressed enter and the expression was printed to the console, I was super glad that I didn't have to write it all out by hand.
Now I need to numerically evaluate this string using another language - either c or modelica.
>>>lambdastr((),longExpression)
I could almost copy and paste the output from the above command into c. The biggest problem are the exponential terms. Is there a way to make lambdastr express exponents in a 'c' way, with pow()?
Thanks,
Adam