First time here? Check out the FAQ!
answered 0 years ago
Term order is not defined for single-variable polynomial rings, just for multivariable rings:
sage: R2 = PolynomialRing(QQ, names=['x_1', 'x_2'], order='lex') sage: R2.term_order() Lexicographic term order