[0e1846] | 1 | #ifndef HUTIL_H |
---|
| 2 | #define HUTIL_H |
---|
| 3 | /**************************************** |
---|
| 4 | * Computer Algebra System SINGULAR * |
---|
| 5 | ****************************************/ |
---|
| 6 | /* |
---|
| 7 | * ABSTRACT |
---|
| 8 | */ |
---|
[e78cce] | 9 | typedef Exponent_t * scmon; |
---|
[0e1846] | 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; |
---|
[e78cce] | 26 | extern Exponent_t hisModule; |
---|
[0e1846] | 27 | extern monf stcmem, radmem; |
---|
| 28 | |
---|
| 29 | scfmon hInit(ideal S, ideal Q, int * Nexist); |
---|
[e78cce] | 30 | void hDelete(scfmon ev, int ev_length); |
---|
| 31 | void hComp(scfmon exist, int Nexist, Exponent_t ak, scfmon stc, int * Nstc); |
---|
[0e1846] | 32 | void hSupp(scfmon stc, int Nstc, varset var, int * Nvar); |
---|
| 33 | void hOrdSupp(scfmon stc, int Nstc, varset var, int Nvar); |
---|
| 34 | void hStaircase(scfmon stc, int * Nstc, varset var, int Nvar); |
---|
| 35 | void hRadical(scfmon rad, int * Nrad, int Nvar); |
---|
| 36 | void hLexS(scfmon stc, int Nstc, varset var, int Nvar); |
---|
| 37 | void hLexR(scfmon rad, int Nrad, varset var, int Nvar); |
---|
| 38 | void hPure(scfmon stc, int a, int *Nstc, varset var, int Nvar, |
---|
| 39 | scmon pure, int *Npure); |
---|
| 40 | void hElimS(scfmon stc, int * e1, int a2, int e2,varset var, int Nvar); |
---|
| 41 | void hElimR(scfmon rad, int * e1, int a2, int e2,varset var, int Nvar); |
---|
| 42 | void hLex2S(scfmon stc, int e1, int a2, int e2,varset var, |
---|
| 43 | int Nvar, scfmon w); |
---|
| 44 | void hLex2R(scfmon rad, int e1, int a2, int e2,varset var, |
---|
| 45 | int Nvar, scfmon w); |
---|
[e78cce] | 46 | void hStepS(scfmon stc, int Nstc, varset var, int Nvar,int *a, Exponent_t *x); |
---|
[0e1846] | 47 | void hStepR(scfmon rad, int Nrad, varset var, int Nvar,int *a); |
---|
| 48 | monf hCreate(int Nvar); |
---|
| 49 | void hKill(monf xmem, int Nvar); |
---|
| 50 | scfmon hGetmem(int lm, scfmon old, monp monmem); |
---|
| 51 | scmon hGetpure(scmon p); |
---|
| 52 | |
---|
| 53 | #endif |
---|