Ejemplo n.º 1
0
 /**
  * Inverse graded lexicographical compare part. Compare entries between begin and end (-1).
  *
  * @param U
  * @param V
  * @param begin
  * @param end
  * @return 0 if U == V, -1 if U < V, 1 if U > V.
  */
 public static int EVIGLC(ExpVector U, ExpVector V, int begin, int end) {
   return U.invGradCompareTo(V, begin, end);
 }
Ejemplo n.º 2
0
 /**
  * Inverse graded lexicographical compare.
  *
  * @param U
  * @param V
  * @return 0 if U == V, -1 if U < V, 1 if U > V.
  */
 public static int EVIGLC(ExpVector U, ExpVector V) {
   return U.invGradCompareTo(V);
 }