#10049: improve documentation of substitute for symbolic expressions
---------------------------+------------------------------------------------
   Reporter:  burcin       |       Owner:  burcin  
       Type:  enhancement  |      Status:  new     
   Priority:  minor        |   Milestone:  sage-4.6
  Component:  symbolics    |    Keywords:          
     Author:               |    Upstream:  N/A     
   Reviewer:               |      Merged:          
Work_issues:               |  
---------------------------+------------------------------------------------
 The following behavior can be confusing:

 {{{
 sage: var('x,y,z')
 (x, y, z)
 sage: t = x+y+z
 sage: t.subs({x+y:5})
 x + y + z
 }}}

 The `match()` function for symbolic expressions already provides a link to
 the relevant part of the GiNaC tutorial:

 http://www.ginac.de/tutorial/Pattern-matching-and-advanced-
 substitutions.html

 Perhaps the `substitute()` function should do this too.

 Reported by Jean-Pierre Flori on sage-devel:

 http://groups.google.com/group/sage-devel/t/897b14e456ac077f

 See also #10048 which is relevant to that thread.

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