Hi, I plan to heavily use a function generated with lambdify from a sympy
expression which has repeated occurences of some subexpressions.
Specifically it will have a lot of cosine and sine expressions with the
same arguments. I don't know if lambdify can notice this pattern and
evaluate that subexpression only once, or if it will call it (the numeric
sine and cosine functions) as many times as it appears, or if I have to
specify it somehow. I am afraid that it would mean a considerable
performance loss if, for example, it will have to call 2-3 times as many
trigonometric functions as a hand-written code, since I plan to use it a
lot. Can somebody provide me some information?
Thanks in advance :)
You received this message because you are subscribed to the Google Groups
To unsubscribe from this group and stop receiving emails from it, send an email
To post to this group, send email to firstname.lastname@example.org.
Visit this group at https://groups.google.com/group/sympy.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.