On Thu, Feb 2, 2012 at 2:03 AM, Oliver Block <[email protected]> wrote: > Hello, > > when I print a univariate polynomial using > > print(P) > > then it is printed with descending order of the degrees, for example as > > X^2 + 2*X + 1 > > Is there a way to print it using ascending order of the degrees, i.e as > follows? > > 1 + 2*X + X^2 > > And is the same possible using the latex output function? >
I don't think so. It is perhaps potentially helpful that power series do print in the other order. sage: R.<X> = QQ[] sage: f = X^2 + 2*X + 1; f X^2 + 2*X + 1 sage: f+O(X^(f.degree()+1)) 1 + 2*X + X^2 + O(X^3) William -- 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-support URL: http://www.sagemath.org
