/* This file contains type declarations and constants. */ #define MAXR 3 /* Maximum number of variables in a polynomial. */ #define MAXL 5000 /* Maximum number of monomials in a polynomial. */ #define MAXV 15000 /* Product of the above two constants. */ #define MEM 4 /* The number of group elements stored in memory. */ typedef int exponent[MAXR]; typedef int polynomial[MAXL]; typedef polynomial group_elt[MAXR]; typedef int vector[MAXV]; typedef group_elt memory[MEM];