=================================================================== RCS file: /home/cvs/OpenXM_contrib2/asir2000/engine/nd.h,v retrieving revision 1.10 retrieving revision 1.14 diff -u -p -r1.10 -r1.14 --- OpenXM_contrib2/asir2000/engine/nd.h 2004/10/06 11:58:52 1.10 +++ OpenXM_contrib2/asir2000/engine/nd.h 2006/04/17 04:35:20 1.14 @@ -1,3 +1,4 @@ +/* $OpenXM: OpenXM_contrib2/asir2000/engine/nd.h,v 1.13 2005/08/03 06:10:48 noro Exp $ */ #include "ca.h" #include "parse.h" #include "ox.h" @@ -45,8 +46,9 @@ typedef struct oNDV { typedef union oNDC { int m; - Z z; + Q z; P p; + DAlg a; } *NDC; /* monomial; linked list rep. */ @@ -131,15 +133,17 @@ extern int *current_weyl_weight_vector; #define HDL(d) ((d)->body->dl) #define HTD(d) (TD(HDL(d))) #define HCM(d) ((d)->body->c.m) -#define HCZ(d) ((d)->body->c.z) +#define HCQ(d) ((d)->body->c.z) #define HCP(d) ((d)->body->c.p) -#define CM(a) ((a)->c.m) -#define CZ(a) ((a)->c.z) -#define CP(a) ((a)->c.p) -#define DL(a) ((a)->dl) -#define SG(a) ((a)->sugar) -#define LEN(a) ((a)->len) -#define LCM(a) ((a)->lcm) +#define HCA(d) ((d)->body->c.a) +#define CM(x) ((x)->c.m) +#define CQ(x) ((x)->c.z) +#define CP(x) ((x)->c.p) +#define CA(x) ((x)->c.a) +#define DL(x) ((x)->dl) +#define SG(x) ((x)->sugar) +#define LEN(x) ((x)->len) +#define LCM(x) ((x)->lcm) #define GET_EXP(d,a) (((d)[nd_epos[a].i]>>nd_epos[a].s)&nd_mask0) #define GET_EXP_MASK(d,a,m) ((((d)[nd_epos[a].i]&(m)[nd_epos[a].i])>>nd_epos[a].s)&nd_mask0) #define PUT_EXP(r,a,e) ((r)[nd_epos[a].i] |= ((e)<