#6756: [with patch, needs review] Implement ``diff`` format symbolic derivative 
in
new symbolics
----------------------------+-----------------------------------------------
 Reporter:  gmhossain       |       Owner:                       
     Type:  enhancement     |      Status:  new                  
 Priority:  major           |   Milestone:                       
Component:  symbolics       |    Keywords:                       
 Reviewer:  Nick Alexander  |      Author:  Golam Mortuza Hossain
   Merged:                  |  
----------------------------+-----------------------------------------------

Comment(by burcin):

 Replying to [comment:13 gmhossain]:
 > Replying to [comment:12 burcin]:
 > > Note that with these patches, the result of `f(y,y).diff(y)` is twice
 that of the current implementation.
 >
 > This is not accurate.
 >
 > Above will happen only when an user wants to apply chain rule by
 explicitly setting
 > diff_derivative_level to "2" or more and certainly NOT in default diff
 level of "1".
 > If some user wants to use some setting that are not default then its
 reasonable to
 > expect users to read the documentation to be aware of the assumptions
 associated with
 > the settings.

 So you agree that setting this level to 2 gives wrong results. In
 comment:10, I tried to say that this option that gives wrong results
 should be removed.

 We can then merge this ''inert'' derivative with the global `diff` command
 by adding a keyword option `hold`. E.g.,

 {{{
 sage: f(y,y).diff(y,1)
 D[0](f)(y, y) + D[1](f)(y, y)
 sage: f(y,y).diff(y,1,hold=True)
 diff(f(y, y), y, 1)
 }}}

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6756#comment:14>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" 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/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to