On Sat, Aug 8, 2009 at 3:50 AM, Golam Mortuza
Hossain<gmhoss...@gmail.com> wrote:
>
> 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.

What do *you* think the right approach is?  You probably have more
experience with the question at hand than anybody else around here.

 -- William

>
> Cheers,
> Golam
>
> >
>



-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~---------~--~----~------------~-------~--~----~
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