#12801: substitute_function misses some substitutions
-------------------------+--------------------------------------------------
   Reporter:  nbruin     |             Owner:  burcin  
       Type:  defect     |            Status:  new     
   Priority:  minor      |         Milestone:  sage-5.0
  Component:  symbolics  |          Keywords:          
Work issues:             |   Report Upstream:  N/A     
  Reviewers:             |           Authors:          
  Merged in:             |      Dependencies:          
   Stopgaps:             |  
-------------------------+--------------------------------------------------
 Works correctly:
 {{{
 sage: f=function('f')
 sage: g=function('g')
 sage: (f(g(x))+g(x)).substitute_function(g,sin)
 sin(x) + f(sin(x))
 }}}
 but
 {{{
 sage: f(g(x)).diff(x).substitute_function(g,sin)
 cos(x)*D[0](f)(g(x))
 sage:
 
sage.symbolic.operators.FDerivativeOperator(f,[0])(g(x)).substitute_function(g,sin)
 D[0](f)(g(x))
 }}}
 so I suspect it forgets to descend into the arguments of an
 FDerivativeOperator

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12801>
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