Re: [sage-support] Polynomials with Irrational coefficients

2012-02-19 Thread Mike Hansen
Hello, On Sun, Feb 19, 2012 at 12:29 PM, ObsessiveMathsFreak wrote: > Sage doesn't seem to like these > > f(x,y)=pi*x^10*y+3*x > B=f(x,y).polynomial(SR) > print B.coefficients() > > Traceback (click to the left of this block for traceback) > ... > TypeError > > What's going wrong here? Is there a

[sage-support] Polynomials with Irrational coefficients

2012-02-19 Thread ObsessiveMathsFreak
Sage doesn't seem to like these f(x,y)=pi*x^10*y+3*x B=f(x,y).polynomial(SR) print B.coefficients() Traceback (click to the left of this block for traceback) ... TypeError What's going wrong here? Is there any way to get Sage to give back [pi,3] -- To post to this group, send email to sage-sup