#13736: add content method to symbolic expressions
---------------------------------+------------------------------------------
       Reporter:  burcin         |         Owner:  burcin      
           Type:  enhancement    |        Status:  needs_review
       Priority:  major          |     Milestone:  sage-5.6    
      Component:  symbolics      |    Resolution:              
       Keywords:                 |   Work issues:              
Report Upstream:  N/A            |     Reviewers:              
        Authors:  Burcin Erocal  |     Merged in:              
   Dependencies:                 |      Stopgaps:              
---------------------------------+------------------------------------------

Comment (by kcrisman):

 Is "content" a well-known thing (especially for non-polynomials)?  I did
 find the definition in the Ginac documentation, but this should probably
 be slightly clarified since it will show up in the tab-completion.
 Especially since this doesn't provide the corresponding `unit` and
 `primpart` methods (which might even be confused with other things in
 algebra) I'm reluctant for this to go in by itself.  Also,
 {{{
 sage: (2*x+4*sin(y)).content(2*x)
 2*x + 4*sin(y)
 }}}
 and things like that seem to not really be in the spirit of this.  If
 anything, shouldn't this content be `1`?  Or should this be disallowed?  I
 don't think it can be considered user error with such minimal doc of an
 unfamiliar term.

 That said, I realize this is needed for #13609 and hence #13729, so I will
 try to be responsive to any responses!

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