Groebner
TestOrder
compare monomials in a monomial order
Calling Sequence
Parameters
Description
Examples
TestOrder(u, v, T)
u, v
-
monomials
T
MonomialOrder or ShortMonomialOrder
The TestOrder command compares monomials with respect to a monomial order. It returns true if and only if u is less than or equal to v.
The third argument T can be either a MonomialOrder or a ShortMonomialOrder description. See the Monomial Orders help page for a list of the available monomial orders.
M := [op(randpoly([x,y,z],degree=3,dense,coeffs=proc() 1 end))];
See Also
LeadingTerm
Monomial Orders
MonomialOrder
Download Help Document