Initialization and memory management


Defines

#define MON_INIT(x)   ((x) = 0)
#define MON_CLEAR(x)
#define MON_SET(x, y)   ((x) = (y))
#define MON_SWAP(x, y)   { monomial_t _t_ = (x); (x) = (y); (y) = _t_; }
#define MON_ONE(x)   ((x) = 0)

Define Documentation

#define MON_CLEAR (  ) 

Clears all data allocated for this monomial.

#define MON_INIT (  )     ((x) = 0)

Initializes the monomial to one.

Note:
This macro evaluates each argument only once.

#define MON_ONE (  )     ((x) = 0)

Sets x to the monomial one.

Note:
This macro evaluates each argument only once.

#define MON_SET ( x,
 )     ((x) = (y))

Sets the monomial x to the same value as y.

Note:
This macro evaluates each argument only once.

#define MON_SWAP ( x,
 )     { monomial_t _t_ = (x); (x) = (y); (y) = _t_; }

Swaps the values of the monomials x and y.

Warning:
This macro possibly evaluates its arguments multiple times.


Generated on Sat Nov 14 23:24:27 2009 for MONF by  doxygen 1.5.6