38 #define idMaxIdeal(D) id_MaxIdeal(D,currRing)
42 #define idPosConstant(I) id_PosConstant(I,currRing)
50 while ((j >= 0) && (mm[j] ==
NULL)) j--;
56 #define idIsConstant(I) id_IsConstant(I,currRing)
58 #define idSimpleAdd(A,B) id_SimpleAdd(A,B,currRing)
62 #define idPrint(id) id_Print(id, currRing, currRing)
63 #define idTest(id) id_Test(id, currRing)
69 #define id_DBCopy(A,r) idDBCopy(A,__FILE__,__LINE__,r)
73 return id_DBCopy(A,
R);
159 #ifdef WITH_OLD_MINOR
BOOLEAN idHomIdeal(ideal id, ideal Q=NULL, const ring R=currRing)
ideal id_FreeModule(int i, const ring r)
ideal id_Transp(ideal a, const ring rRing)
ideal id_Mult(ideal h1, ideal h2, const ring r)
BOOLEAN idIsZeroDim(ideal i, const ring R=currRing)
void idLiftW(ideal P, ideal Q, int n, matrix &T, ideal &R, short *w=NULL)
ideal idXXX(ideal h1, int k)
ideal id_Copy(ideal h1, const ring r)
BOOLEAN id_HomModule(ideal m, ideal Q, intvec **w, const ring R)
BOOLEAN id_HomIdeal(ideal id, ideal Q, const ring r)
const CanonicalForm CFMap CFMap int &both_non_zero int n
void id_Delete(ideal *h, ring r)
CanonicalForm divide(const CanonicalForm &ff, const CanonicalForm &f, const CFList &as)
ideal id_TensorModuleMult(const int m, const ideal M, const ring rRing)
ideal idModulo(ideal h1, ideal h2, tHomog h=testHomog, intvec **w=NULL)
BOOLEAN id_InsertPolyWithTests(ideal h1, const int validEntries, const poly h2, const bool zeroOk, const bool duplicateOk, const ring r)
insert h2 into h1 depending on the two boolean parameters:
intvec * idMWLift(ideal mod, intvec *weights)
ideal idAdd(ideal h1, ideal h2, const ring R=currRing)
h1 + h2
ideal idLift(ideal mod, ideal sumod, ideal *rest=NULL, BOOLEAN goodShape=FALSE, BOOLEAN isSB=TRUE, BOOLEAN divide=FALSE, matrix *unit=NULL)
void idDelEquals(ideal id)
BOOLEAN idHomModule(ideal m, ideal Q, intvec **w, const ring R=currRing)
ideal idLiftStd(ideal h1, matrix *m, tHomog h=testHomog, ideal *syz=NULL)
BOOLEAN idIsModule(ideal m, const ring r)
ideal idMinBase(ideal h1)
ideal idSeries(int n, ideal M, matrix U=NULL, intvec *w=NULL)
ideal idElimination(ideal h1, poly delVar, intvec *hilb=NULL)
ideal idMinEmbedding(ideal arg, BOOLEAN inPlace=FALSE, intvec **w=NULL)
void idKeepFirstK(ideal ide, const int k)
keeps the first k (>= 1) entries of the given ideal (Note that the kept polynomials may be zero...
const CanonicalForm CFMap CFMap & N
ideal idMinors(matrix a, int ar, ideal R=NULL)
matrix idCoeffOfKBase(ideal arg, ideal kbase, poly how)
poly id_GCD(poly f, poly g, const ring r)
ideal idFreeModule(int i, const ring R=currRing)
intvec * id_Sort(const ideal id, const BOOLEAN nolex, const ring r)
sorts the ideal w.r.t. the actual ringordering uses lex-ordering when nolex = FALSE ...
ideal idMultSect(resolvente arg, int length)
BOOLEAN idInsertPoly(ideal h1, poly h2)
void idDelete(ideal *h, ring r=currRing)
delete an ideal
void idGetNextChoise(int r, int end, BOOLEAN *endch, int *choise)
ideal idSect(ideal h1, ideal h2)
ideal idMult(ideal h1, ideal h2, const ring R=currRing)
hh := h1 * h2
ideal idSyzygies(ideal h1, tHomog h, intvec **w, BOOLEAN setSyzComp=TRUE, BOOLEAN setRegularity=FALSE, int *deg=NULL)
ideal idVec2Ideal(poly vec, const ring R=currRing)
ideal id_Add(ideal h1, ideal h2, const ring r)
void idInitChoise(int r, int beg, int end, BOOLEAN *endch, int *choise)
ideal idCopyFirstK(const ideal ide, const int k, ring R=currRing)
intvec * idSort(ideal id, BOOLEAN nolex=TRUE, const ring R=currRing)
ideal idTransp(ideal a, const ring R=currRing)
transpose a module
ideal id_Farey(ideal x, number N, const ring r)
BOOLEAN idIsSubModule(ideal id1, ideal id2)
ideal idQuot(ideal h1, ideal h2, BOOLEAN h1IsStb=FALSE, BOOLEAN resultIsIdeal=FALSE)
BOOLEAN id_IsZeroDim(ideal I, const ring r)
ideal idCopy(ideal A, const ring R=currRing)
ideal id_CopyFirstK(const ideal ide, const int k, const ring r)
matrix idDiffOp(ideal I, ideal J, BOOLEAN multiply=TRUE)
int idGetNumberOfChoise(int t, int d, int begin, int end, int *choise)
static int idSize(const ideal id)
Count the effective size of an ideal (without the trailing allocated zero-elements) ...
ideal id_Vec2Ideal(poly vec, const ring R)
BOOLEAN idInsertPolyWithTests(ideal h1, const int validEntries, const poly h2, const bool zeroOk, const bool duplicateOk, const ring R=currRing)
ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
BOOLEAN idTestHomModule(ideal m, ideal Q, intvec *w)
matrix idDiff(matrix i, int k)