Comment #47 on issue 1816 by [email protected]: Adding partial derivatives and taking derivatives with respect to functions
http://code.google.com/p/sympy/issues/detail?id=1816
Yes, I know that the implementation uses ._diff_wrt, but the resulting behaviour appears completely arbitrary from the point of view of an end-user. What's special about instances of Function that makes them the only expressions allowed in .diff()? Or in concrete terms, why is it that diff(expr, cos(2*x)) works but diff(expr, 2*cos(x)) raises?
BTW, if I understand correctly, diff(diff(f(x), x), f(x)) gives 0 not because f'(x) is considered a separate symbol but because f(x) is considered as a symbol independent of x.
-- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/sympy-issues?hl=en.
