1 | #ifndef HUTIL_H |
---|
2 | #define HUTIL_H |
---|
3 | /**************************************** |
---|
4 | * Computer Algebra System SINGULAR * |
---|
5 | ****************************************/ |
---|
6 | /* |
---|
7 | * ABSTRACT |
---|
8 | */ |
---|
9 | typedef Exponent_t * scmon; |
---|
10 | typedef scmon * scfmon; |
---|
11 | typedef int * varset; |
---|
12 | struct monrec; |
---|
13 | typedef struct monrec monh; |
---|
14 | typedef monh * monp; |
---|
15 | typedef monp * monf; |
---|
16 | struct monrec{ scfmon mo; |
---|
17 | int a; |
---|
18 | }; |
---|
19 | |
---|
20 | #define LEN_MON (sizeof(scfmon) + sizeof(int)) |
---|
21 | |
---|
22 | extern scfmon hexist, hstc, hrad, hwork; |
---|
23 | extern scmon hpure, hpur0; |
---|
24 | extern varset hvar, hsel; |
---|
25 | extern int hNexist, hNstc, hNrad, hNvar, hNpure; |
---|
26 | extern Exponent_t hisModule; |
---|
27 | extern monf stcmem, radmem; |
---|
28 | |
---|
29 | scfmon hInit(ideal S, ideal Q, int * Nexist); |
---|
30 | void hWeight(); |
---|
31 | void hDelete(scfmon ev, int ev_length); |
---|
32 | void hComp(scfmon exist, int Nexist, Exponent_t ak, scfmon stc, int * Nstc); |
---|
33 | void hSupp(scfmon stc, int Nstc, varset var, int * Nvar); |
---|
34 | void hOrdSupp(scfmon stc, int Nstc, varset var, int Nvar); |
---|
35 | void hStaircase(scfmon stc, int * Nstc, varset var, int Nvar); |
---|
36 | void hRadical(scfmon rad, int * Nrad, int Nvar); |
---|
37 | void hLexS(scfmon stc, int Nstc, varset var, int Nvar); |
---|
38 | void hLexR(scfmon rad, int Nrad, varset var, int Nvar); |
---|
39 | void hPure(scfmon stc, int a, int *Nstc, varset var, int Nvar, |
---|
40 | scmon pure, int *Npure); |
---|
41 | void hElimS(scfmon stc, int * e1, int a2, int e2,varset var, int Nvar); |
---|
42 | void hElimR(scfmon rad, int * e1, int a2, int e2,varset var, int Nvar); |
---|
43 | void hLex2S(scfmon stc, int e1, int a2, int e2,varset var, |
---|
44 | int Nvar, scfmon w); |
---|
45 | void hLex2R(scfmon rad, int e1, int a2, int e2,varset var, |
---|
46 | int Nvar, scfmon w); |
---|
47 | void hStepS(scfmon stc, int Nstc, varset var, int Nvar,int *a, Exponent_t *x); |
---|
48 | void hStepR(scfmon rad, int Nrad, varset var, int Nvar,int *a); |
---|
49 | monf hCreate(int Nvar); |
---|
50 | void hKill(monf xmem, int Nvar); |
---|
51 | scfmon hGetmem(int lm, scfmon old, monp monmem); |
---|
52 | scmon hGetpure(scmon p); |
---|
53 | |
---|
54 | #endif |
---|