Hi,

If I compute partial derivative of f(x, x) w.r.t. x in Sage
then I get
-----
sage: f(x, x).diff(x)
D[0](f)(x, x) + D[1](f)(x, x)
-----

Now if I say "f(x, x) = x"  then from the output above I would
get "2". On the other hand, had I computed it directly, I
would get "1"
------
sage: (x).diff(x)
1
------

I encountered this issue while testing out new "diff" derivative
implementation. So it would be good to know the right approach
for handling this issue.

Cheers,
Golam

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel-unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to