source: git/Singular/ideals.h @ 3cc3f6

spielwiese
Last change on this file since 3cc3f6 was 3cc3f6, checked in by Thomas Siebert <siebert@…>, 24 years ago
Change of Procedure-calls in idLift git-svn-id: file:///usr/local/Singular/svn/trunk@4083 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 4.1 KB
Line 
1#ifndef IDEALS_H
2#define IDEALS_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id: ideals.h,v 1.19 2000-01-13 14:40:23 siebert Exp $ */
7/*
8* ABSTRACT - all basic methods to manipulate ideals
9*/
10#include "structs.h"
11
12#ifdef PDEBUG
13ideal idDBInit (int size, int rank, char *f, int l);
14#define idInit(A,B) idDBInit(A,B,__FILE__,__LINE__)
15void idDBDelete (ideal* h, char *f, int l);
16#define idDelete(A) idDBDelete(A,__FILE__,__LINE__)
17#else
18ideal idInit (int size, int rank=1);
19  /*- creates an ideal -*/
20void idDelete (ideal* h);
21  /*- deletes an ideal -*/
22#endif
23void idShow(ideal id);
24void idPrint(ideal id);
25  /*- initialise an ideal -*/
26ideal idMaxIdeal (int deg);
27  /*- initialise the maximal ideal (at 0) -*/
28void idSkipZeroes (ideal ide);
29  /*gives an ideal the minimal possible size*/
30void idNorm(ideal id);
31void idDelMultiples(ideal id);
32void idDelEquals(ideal id);
33void idDelLmEquals(ideal id);
34void idDelDiv(ideal id);
35
36#ifdef PDEBUG
37void idDBTest(ideal h1,char *f,int l);
38#define idTest(A) idDBTest(A,__FILE__,__LINE__)
39#else
40#define idTest(A)  (TRUE)
41#define idPrint(A) ((void)0)
42#endif
43
44#ifdef PDEBUG
45ideal idDBCopy(ideal h1,char *f,int l);
46#define idCopy(A) idDBCopy(A,__FILE__,__LINE__)
47#else
48ideal idCopy (ideal h1);
49#endif
50  /*adds two ideals without simplifying the result*/
51ideal idSimpleAdd (ideal h1,ideal h2);
52  /*adds the quotient ideal*/
53ideal idAdd (ideal h1,ideal h2);
54  /* h1 + h2 */
55ideal idMult (ideal h1,ideal h2);
56  /*hh := h1 * h2*/
57
58BOOLEAN idIs0 (ideal h);
59
60int     idRankFreeModule(ideal m);
61
62BOOLEAN idHomIdeal (ideal id, ideal Q=NULL);
63BOOLEAN idHomModule(ideal m, ideal Q,intvec **w);
64
65ideal idMinBase (ideal h1);
66  /*returns a minimized set of generators of h1*/
67int pLowVar (poly p);
68  /*-the minimal index of used variables - 1-*/
69ideal idDehomogen (ideal id1,poly p,number n);
70  /*dehomogenized the generators of the ideal id1 with the leading
71  monomial of p replaced by n*/
72void pShift (poly * p,int i);
73  /*- verschiebt die Indizes der Modulerzeugenden um i -*/
74void    idInitChoise (int r,int beg,int end,BOOLEAN *endch,int * choise);
75void    idGetNextChoise (int r,int end,BOOLEAN *endch,int * choise);
76int     idGetNumberOfChoise(int t, int d, int begin, int end, int * choise);
77
78int     binom (int n,int r);
79
80ideal   idFreeModule (int i);
81
82ideal   idSect (ideal h1,ideal h2);
83ideal   idMultSect(resolvente arg, int length);
84
85//ideal   idSyzygies (ideal h1, tHomog h,intvec **w);
86ideal   idSyzygies (ideal h1, tHomog h,intvec **w, BOOLEAN setSyzComp=TRUE, 
87                    BOOLEAN setRegularity=FALSE, int *deg = NULL);
88ideal   idLiftStd  (ideal h1, matrix *m, tHomog h=testHomog);
89
90ideal   idLift (ideal mod, ideal sumod,ideal * rest=NULL,
91             BOOLEAN goodShape=FALSE, BOOLEAN isSB=TRUE,BOOLEAN divide=FALSE,
92             BOOLEAN lift1=FALSE);
93ideal   idLiftNonStB (ideal  mod, ideal submod,ideal * rest=NULL,
94             BOOLEAN goodShape=FALSE,BOOLEAN divide=FALSE,
95             BOOLEAN lift1=FALSE);
96
97intvec * idMWLift(ideal mod,intvec * weights);
98
99ideal   idQuot (ideal h1,ideal h2,
100                BOOLEAN h1IsStb=FALSE, BOOLEAN resultIsIdeal=FALSE);
101
102ideal   idPower(ideal gid,int deg);
103
104//ideal   idElimination (ideal h1,poly delVar);
105ideal   idElimination (ideal h1,poly delVar, intvec *hilb=NULL);
106
107ideal   idMinors(matrix a, int ar, ideal R=NULL);
108
109ideal   idCompactify(ideal id);
110
111ideal idMinEmbedding(ideal arg,BOOLEAN inPlace=FALSE);
112
113ideal   idHead(ideal h);
114
115ideal   idHomogen(ideal h, int varnum);
116
117BOOLEAN idIsSubModule(ideal id1,ideal id2);
118
119ideal   idVec2Ideal(poly vec);
120
121ideal   idMatrix2Module(matrix mat);
122
123matrix  idModule2Matrix(ideal mod);
124
125matrix  idModule2formatedMatrix(ideal mod,int rows, int cols);
126
127ideal   idSubst(ideal i, int n, poly e);
128
129ideal   idJet(ideal i,int d);
130ideal   idJetW(ideal i,int d, intvec * iv);
131
132matrix  idDiff(matrix i, int k);
133matrix  idDiffOp(ideal I, ideal J,BOOLEAN multiply=TRUE);
134
135intvec *idSort(ideal id,BOOLEAN nolex=TRUE);
136ideal   idModulo (ideal h1,ideal h2);
137int     idElem(ideal F);
138matrix  idCoeffOfKBase(ideal arg, ideal kbase, poly how);
139intvec *idQHomWeights(ideal id);
140ideal   idTransp(ideal a);
141#endif
Note: See TracBrowser for help on using the repository browser.