1 | #ifndef HUTIL_H |
---|
2 | #define HUTIL_H |
---|
3 | /**************************************** |
---|
4 | * Computer Algebra System SINGULAR * |
---|
5 | ****************************************/ |
---|
6 | /* |
---|
7 | * ABSTRACT |
---|
8 | */ |
---|
9 | |
---|
10 | class intvec; |
---|
11 | |
---|
12 | struct ip_sring ; typedef struct ip_sring * ring; |
---|
13 | struct sip_sideal; typedef struct sip_sideal * ideal; |
---|
14 | struct spolyrec ; typedef struct spolyrec polyrec; typedef polyrec * poly; |
---|
15 | typedef poly * polyset; |
---|
16 | |
---|
17 | typedef int * scmon; |
---|
18 | typedef scmon * scfmon; |
---|
19 | typedef int * varset; |
---|
20 | struct monrec; |
---|
21 | typedef struct monrec monh; |
---|
22 | typedef monh * monp; |
---|
23 | typedef monp * monf; |
---|
24 | struct monrec |
---|
25 | { |
---|
26 | scfmon mo; |
---|
27 | int a; |
---|
28 | }; |
---|
29 | |
---|
30 | typedef struct sindlist indlist; |
---|
31 | typedef indlist * indset; |
---|
32 | struct sindlist |
---|
33 | { |
---|
34 | indset nx; |
---|
35 | intvec * set; |
---|
36 | }; |
---|
37 | |
---|
38 | #define LEN_MON (sizeof(scfmon) + sizeof(int)) |
---|
39 | |
---|
40 | extern omBin indlist_bin; |
---|
41 | |
---|
42 | extern scfmon hexist, hstc, hrad, hwork; |
---|
43 | extern scmon hpure, hpur0; |
---|
44 | extern varset hvar, hsel; |
---|
45 | extern int hNexist, hNstc, hNrad, hNvar, hNpure; |
---|
46 | extern monf stcmem, radmem; |
---|
47 | extern int hisModule; |
---|
48 | extern monf stcmem, radmem; |
---|
49 | extern indset ISet, JSet; |
---|
50 | extern int hCo, hMu, hMu2; |
---|
51 | |
---|
52 | |
---|
53 | void hDelete(scfmon ev, int ev_length); |
---|
54 | void hComp(scfmon exist, int Nexist, int ak, scfmon stc, int * Nstc); |
---|
55 | void hSupp(scfmon stc, int Nstc, varset var, int * Nvar); |
---|
56 | void hOrdSupp(scfmon stc, int Nstc, varset var, int Nvar); |
---|
57 | void hStaircase(scfmon stc, int * Nstc, varset var, int Nvar); |
---|
58 | void hRadical(scfmon rad, int * Nrad, int Nvar); |
---|
59 | void hLexS(scfmon stc, int Nstc, varset var, int Nvar); |
---|
60 | void hLexR(scfmon rad, int Nrad, varset var, int Nvar); |
---|
61 | void hPure(scfmon stc, int a, int *Nstc, varset var, int Nvar, |
---|
62 | scmon pure, int *Npure); |
---|
63 | void hElimS(scfmon stc, int * e1, int a2, int e2,varset var, int Nvar); |
---|
64 | void hElimR(scfmon rad, int * e1, int a2, int e2,varset var, int Nvar); |
---|
65 | void hLex2S(scfmon stc, int e1, int a2, int e2,varset var, |
---|
66 | int Nvar, scfmon w); |
---|
67 | void hLex2R(scfmon rad, int e1, int a2, int e2,varset var, |
---|
68 | int Nvar, scfmon w); |
---|
69 | void hStepS(scfmon stc, int Nstc, varset var, int Nvar,int *a, int *x); |
---|
70 | void hStepR(scfmon rad, int Nrad, varset var, int Nvar,int *a); |
---|
71 | monf hCreate(int Nvar); |
---|
72 | void hKill(monf xmem, int Nvar); |
---|
73 | scfmon hGetmem(int lm, scfmon old, monp monmem); |
---|
74 | scmon hGetpure(scmon p); |
---|
75 | void hDimSolve(scmon pure, int Npure, scfmon rad, int Nrad, |
---|
76 | varset var, int Nvar); |
---|
77 | void hIndMult(scmon pure, int Npure, scfmon rad, int Nrad, |
---|
78 | varset var, int Nvar); |
---|
79 | void hIndAllMult(scmon pure, int Npure, scfmon rad, int Nrad, |
---|
80 | varset var, int Nvar); |
---|
81 | void hDegreeSeries(intvec *s1, intvec *s2, int *co, int *mu); |
---|
82 | |
---|
83 | |
---|
84 | scfmon hInit(ideal S, ideal Q, int * Nexist, ring tailRing); |
---|
85 | void slicehilb(ideal I); |
---|
86 | void HilbertSeries_OrbitData(ideal S, int lV, bool ig, bool mgrad, bool odp, int trunDegHs); |
---|
87 | ideal RightColonOperation(ideal i, poly w, int lV); |
---|
88 | #endif |
---|