setorder.spad line 90 [edit on github]
This packages provides functions to allow the user to select the ordering on the variables and operators for displaying polynomials, fractions and expressions. The ordering affects the display only and not the computations.
getVariableOrder()
returns [[b1, ..., bm], [a1, ..., an]]
such that the ordering on the variables was given by setVariableOrder([b1, ..., bm], [a1, ..., an])
.
resetVariableOrder()
cancels any previous use of setVariableOrder and returns to the default system ordering.
setVariableOrder([a1, ..., an])
defines an ordering on the variables given by a1 > a2 > ... > an > other variables
.
setVariableOrder([b1, ..., bm], [a1, ..., an])
defines an ordering on the variables given by b1 > b2 > ... > bm >
other variables > a1 > a2 > ... > an
.