Hello,
How can I substitute/replace something mathematically from an expression:
For example:
>>> exp(5*x).xreplace({exp(x): sin(x)})
>>> exp(5*x) # I would expect sin(x)**5 here
In better way to do the above thing?
Thanks,
Best,
--
Adrian
--
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 http://groups.google.com/group/sympy.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sympy/4be0109e-a665-4c89-8774-0300163250f0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.