Comparison


Defines

#define MON_CMP_INVLEX(x, y)   (((x) < (y)) ? -1 : ((x) > (y) ? 1 : 0))
#define MON_IS_ONE(x)   ((x) == 0)

Define Documentation

#define MON_CMP_INVLEX ( x,
 )     (((x) < (y)) ? -1 : ((x) > (y) ? 1 : 0))

Compares the two monomials x and y inverse-lexicographically.

Warning:
This macro possibly evaluates its arguments multiple times.

#define MON_IS_ONE (  )     ((x) == 0)

Returns whether the monomial x is one.

Note:
This macro evaluates each argument only once.


Generated on Sat Nov 14 23:24:59 2009 for MONV by  doxygen 1.5.6