#11478: polynomial coeff bug
--------------------------------+-------------------------------------------
   Reporter:  tdupu             |          Owner:  AlexGhitza           
       Type:  defect            |         Status:  new                  
   Priority:  major             |      Milestone:  sage-4.7.1           
  Component:  basic arithmetic  |       Keywords:  polynomial arithmetic
Work_issues:                    |       Upstream:  N/A                  
   Reviewer:                    |         Author:                       
     Merged:                    |   Dependencies:                       
--------------------------------+-------------------------------------------
 {{{
 notebook in>
 var('a b c d y')
 f = 1+x+x^3
 g = a+b*y+c*y^2+d*y^3
 gg=expand(f(x=g) - y)
 [gg.coeff(y^j) for j in range(0,10)]
 print gg.coeff(1)
 print gg(y=0)

 notebook out>
 0
 a^3 + a + 1
 }}}

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