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

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sympy/f9854130-9c74-4f77-afeb-156d916881d0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to