source: git/kernel/combinatorics/hutil.h @ 1664835

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