Re: [sage-devel] Coefficients of univariate polynomials

2011-05-10 Thread Tom Boothby
Yeah, I thought this was a bug too at one point. I discussed it with Craig Citro, and we were all ready to open a ticket when William overheard us and pointed out that it was made to be consistent with symbolics. The convention makes the following nice: for c,e in zip(p.coefficients(), p.exponen

[sage-devel] Coefficients of univariate polynomials

2011-05-10 Thread Rob Beezer
There is a non-zero probability this has been hashed out before, but I couldn't find it. And it was brought to me by an experienced Sage user, and the documentation is not much help either. sage: t = polygen(QQ, 't') sage: p = t^4 + 8 sage: p.parent() Univariate Polynomial Ring in t over Rational