Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

For displaying the polynomial, you could convert it to a power series, which are ordered the other way around:

sage: var('t');
sage: f = t^2 - t + 1
sage: R = PowerSeriesRing(QQ, 't')
sage: print(R(f))
1 - t + t^2