version 1.18, 2006/12/14 02:49:59 |
version 1.21, 2009/01/07 05:33:18 |
|
|
/* $OpenXM: OpenXM_contrib2/asir2000/engine/nd.h,v 1.17 2006/12/12 11:50:37 noro Exp $ */ |
/* $OpenXM: OpenXM_contrib2/asir2000/engine/nd.h,v 1.20 2009/01/05 02:08:18 noro Exp $ */ |
#include "ca.h" |
#include "ca.h" |
#include "parse.h" |
#include "parse.h" |
#include "ox.h" |
#include "ox.h" |
Line 128 extern char *Demand; |
|
Line 128 extern char *Demand; |
|
extern VL CO; |
extern VL CO; |
extern int Top,Reverse,DP_Print,dp_nelim,do_weyl,NoSugar; |
extern int Top,Reverse,DP_Print,dp_nelim,do_weyl,NoSugar; |
extern int *current_weyl_weight_vector; |
extern int *current_weyl_weight_vector; |
|
extern int *current_module_weight_vector; |
|
|
/* fundamental macros */ |
/* fundamental macros */ |
#define TD(d) (d[0]) |
#define TD(d) (d[0]) |
Line 152 extern int *current_weyl_weight_vector; |
|
Line 153 extern int *current_weyl_weight_vector; |
|
|
|
#define GET_EXP_OLD(d,a) (((d)[oepos[a].i]>>oepos[a].s)&omask0) |
#define GET_EXP_OLD(d,a) (((d)[oepos[a].i]>>oepos[a].s)&omask0) |
#define PUT_EXP_OLD(r,a,e) ((r)[oepos[a].i] |= ((e)<<oepos[a].s)) |
#define PUT_EXP_OLD(r,a,e) ((r)[oepos[a].i] |= ((e)<<oepos[a].s)) |
|
#define MPOS(d) (d[nd_mpos]) |
|
|
#define ROUND_FOR_ALIGN(s) ((((s)+sizeof(void *)-1)/sizeof(void *))*sizeof(void *)) |
#define ROUND_FOR_ALIGN(s) ((((s)+sizeof(void *)-1)/sizeof(void *))*sizeof(void *)) |
|
|
Line 258 NODE nd_f4_trace(int m); |
|
Line 260 NODE nd_f4_trace(int m); |
|
/* ndl functions */ |
/* ndl functions */ |
int ndl_weight(UINT *d); |
int ndl_weight(UINT *d); |
void ndl_weight_mask(UINT *d); |
void ndl_weight_mask(UINT *d); |
void ndl_homogenize(UINT *d,UINT *r,int obpe,EPOS oepos,int weight); |
void ndl_homogenize(UINT *d,UINT *r,int obpe,EPOS oepos,int ompos,int weight); |
void ndl_dehomogenize(UINT *p); |
void ndl_dehomogenize(UINT *p); |
void ndl_reconstruct(UINT *d,UINT *r,int obpe,EPOS oepos); |
void ndl_reconstruct(UINT *d,UINT *r,int obpe,EPOS oepos); |
INLINE int ndl_reducible(UINT *d1,UINT *d2); |
INLINE int ndl_reducible(UINT *d1,UINT *d2); |
Line 345 ND ndv_mul_nm(int mod,NM m0,NDV p); |
|
Line 347 ND ndv_mul_nm(int mod,NM m0,NDV p); |
|
ND ndv_mul_nmv_trunc(int mod,NMV m0,NDV p,UINT *d); |
ND ndv_mul_nmv_trunc(int mod,NMV m0,NDV p,UINT *d); |
void ndv_realloc(NDV p,int obpe,int oadv,EPOS oepos); |
void ndv_realloc(NDV p,int obpe,int oadv,EPOS oepos); |
NDV ndv_dup_realloc(NDV p,int obpe,int oadv,EPOS oepos); |
NDV ndv_dup_realloc(NDV p,int obpe,int oadv,EPOS oepos); |
void ndv_homogenize(NDV p,int obpe,int oadv,EPOS eops); |
void ndv_homogenize(NDV p,int obpe,int oadv,EPOS eops,int ompos); |
void ndv_dehomogenize(NDV p,struct order_spec *spec); |
void ndv_dehomogenize(NDV p,struct order_spec *spec); |
void ndv_removecont(int mod,NDV p); |
void ndv_removecont(int mod,NDV p); |
void ndv_print(NDV p); |
void ndv_print(NDV p); |