Updates:
        Status: Valid
        Labels: -Differentiation Type-Enhancement

Comment #1 on issue 3920 by asmeu...@gmail.com: Derivative wrt to the real or imag part of a complex number
http://code.google.com/p/sympy/issues/detail?id=3920

It returns 0 because diff works symbolically, using those things that are in the expression, so re(r) is not there, hence, it gives 0. See the docstring of Derivative.

This requires some thought. We used this definition because that is what things like F(x, f(x), f'(x)).diff(f'(x)) mean (as opposed to some kind of chain rule). It may be a good idea to extend _diff_wrt to let it dispatch on diff. This also goes back to the whole dispatch question again.

--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sympy-issues+unsubscr...@googlegroups.com.
To post to this group, send email to sympy-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/sympy-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to