#12542: Fix issues with converting symbolic expressions to polynomials
-------------------------+--------------------------------------------------
   Reporter:  mhansen    |          Owner:  burcin     
       Type:  defect     |         Status:  new        
   Priority:  minor      |      Milestone:  sage-5.0   
  Component:  symbolics  |       Keywords:             
Work_issues:             |       Upstream:  N/A        
   Reviewer:             |         Author:  Mike Hansen
     Merged:             |   Dependencies:             
-------------------------+--------------------------------------------------
 The following fails, but shouldn't:

 {{{
 sage: var('x,y')
 sage: f = pi*x^10*y+3*x
 sage: f.polynomial(SR)
 }}}

 Also, you should be able to do the following

 {{{
 sage: var('a,x,y')
 sage: f = a*x^10*y+3*x
 sage: B = f.polynomial(ring=SR['x,y'])
 sage: B.coefficients()
 [a, 3]
 }}}

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