Hi,

The following snippet is from 2.9.3.   What does the 'order' parameter do?  I 
thought it affected the order in which monomials appear in the string 
representation.  I wanted x^2+1 to print as '1+x^2' (i.e. small degree 
appears first).

sage: R.<x,y>=PolynomialRing(QQ,order="degrevlex")
sage: R.term_order()
Degree reverse lexicographic term order
sage: x+y
x + y
sage: x^2+1
x^2 + 1
sage: R.<x,y>=PolynomialRing(QQ,order="deglex")
sage: R.term_order()
Degree lexicographic term order
sage: x+y
x + y
sage: x^2+1
x^2 + 1

Is this correct operation?

--
Joel

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to