source: git/kernel/combinatorics/hutil.h

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