#7401: Derivative at a point is not translated into Maxima
----------------------------+-----------------------------------------------
   Reporter:  robert.marik  |       Owner:  was                   
       Type:  defect        |      Status:  needs_work            
   Priority:  major         |   Milestone:  sage-4.2.1            
  Component:  interfaces    |    Keywords:  derivative, at, maxima
Work_issues:                |      Author:  Robert Marik          
   Reviewer:                |      Merged:                        
----------------------------+-----------------------------------------------
Changes (by newvalueoldvalue):

  * status:  needs_review => needs_work
  * author:  => Robert Marik


Comment:

 Replying to [comment:1 robert.marik]:
 > Submitted patch solves the problem described above
 >

 Yes, this should do so.  It would probably be best to add one more
 doctest, just to show that the original one works (i.e. without showing
 the Maxima internals).

 > limitation and disadvantage of this patch are:
 >
 > * it works for univariable functions only

 That's fine - that's still improving the previous situation, correct?
 Looking at the code, it would be helpful to know what happens if params
 has more than one element - particularly in
 {{{
 return "at(diff('%s(dummy_var_der), %s),dummy_var_der=%s)"%(f.name(), ",
 ".join(params), opnds[0])
 }}}
 it seems like one could have more items in the substitution tuple than
 there are %s to fill up, even if for some reason len(args)==1.  What is
 the relation between args and params - could there be more params than
 args?

 Also, make sure to add a doctest showing that the NotImplementedError
 comes into play.  Search for 'Traceback' in the file to see how the
 doctests for errors look.

 >
 > * introduces new dummy variable into Maxima session

 This is unfortunate, but probably unavoidable currently.  You should test
 whether this breaks anything in Maxima, but I don't see why it would.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/7401#comment:2>
Sage <http://www.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