Hi all, 

I am taking the derivative with respect to a variable, let's call it x, of 
a complicated expression, let's call it y. A lot of y' can be rewritten in 
terms of y. In a very simple case, y = exp(x) => y' = exp(x) = y

When I take diff(y,x), obviously I get exp(x) 

Is there a way for me to automatically re-write my answer in terms of y? 
Something along the lines of expr.rewrite(func) ? It's trivial to do it 
manually in this case, but for more complicated expressions it would be 
really neat to be able to automate this

-- 
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 sympy+unsubscr...@googlegroups.com.
To post to this group, send email to sympy@googlegroups.com.
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/91481459-5d16-47b6-a819-69c1ed608549%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to