up previous next
Order Comparison Operators 
less than, greater than, ...

A < B less than
A > B greater than
A <= B less than or equal
A >= B greater than or equal
return BOOL 
These ordering operators perform the corresponding comparison between
A
and
B
. They will signal an error if
A
and
B
are not comparable
(e.g. of different types, or if the type does not have a natural
ordering). Polynomials which are just powerproducts are ordered using
the powerproduct ordering.
/**/ 1 > 1/2;
true
/**/ "abc" < "def";  lex ordering for strings
true
/**/ use QQ[x,y];
/**/ x < y;  x and y are viewed as powerproducts
false
