Hi!

I have a huge sympy expression and in our current implementation, I
numerically evaluate the expression hundreds to thousands of times
using .subs, lambda functions, list comprehension, etc. As you can
imagine, this is very slow.

I am looking at moving this numerical evaluation to C but I am unsure
how to do so. Handling the transfer the expression to C code seems
like it will be difficult. I am a novice C coder and haven't done much
scripting with C. I do not want to rewrite the whole module in C as
generating the expression takes many function calls and this module is
just a small part of a much larger project written entirely in python.
What would you suggest to do? Is Cython a good approach?

-- 
You received this message because you are subscribed to the Google Groups 
"sympy" group.
To post to this group, send email to sy...@googlegroups.com.
To unsubscribe from this group, send email to 
sympy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy?hl=en.

Reply via email to