QEtaQuotientMonoidExponentVectorsAuxΒΆ
QEtaQuotientMonoidExponentVectorsAux provides a number of auxiliary functions for the use in the variants to compute etaQuotientMonoidExponentVectors.
- ascend: (List Integer , List Integer ) -> Boolean
ascend implements
a (somewhat arbitrary) sorting criterium. ascend(x
,y
) returnstrue
if the sum of the absolute values of the entries ofx
is smaller than fory
or if these values agree and the sum of the negative entries ofx
is greater (i.e. smallerin absolute value) then the respective sum fory
. We break ties by the revlex order.