source: git/Singular/kstd1.h @ 48aa42

spielwiese
Last change on this file since 48aa42 was dd01bf0, checked in by Olaf Bachmann <obachman@…>, 23 years ago
* fixed memory leaks (longalg, NF, syz) * eliminated OPT_MOREPAIS, CANCELUNIT, REDBEST * prepared for tailRings in local case git-svn-id: file:///usr/local/Singular/svn/trunk@4723 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.3 KB
Line 
1#ifndef KSTD1_H
2#define KSTD1_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id: kstd1.h,v 1.16 2000-11-14 16:04:55 obachman Exp $ */
7/*
8* ABSTRACT
9*/
10#include "structs.h"
11
12/*2
13*input: F: a set (array) of polys with <= Fmax entries (0..Fmax-1)
14*       *S: a set (array) of polys with *Smax initialized entries (0..*Smax-1)
15*output:*S: the standard base: a set (array) with <= *Smax+1 entries (0..*Smax)
16*/
17ideal mora (ideal F, ideal Q,intvec *w,intvec *hilb,kStrategy strat);
18
19poly kNF1(ideal F, ideal Q, poly q, kStrategy strat, int lazyReduce);
20ideal kNF1 (ideal F,ideal Q,ideal q, kStrategy strat, int lazyReduce);
21
22poly kNF (ideal F, ideal Q, poly p,int syzComp=0, int lazyReduce=0);
23ideal kNF(ideal F, ideal Q, ideal p,int syzComp=0, int lazyReduce=0);
24
25ideal kStd(ideal F, ideal Q, tHomog h, intvec ** mw,intvec *hilb=NULL,
26          int syzComp=0,int newIdeal=0, intvec *vw=NULL);
27
28/* the following global data are defined in kutil.cc */
29//extern int syzComp;
30  /*stop building pairs after that component --> ideals.cc, syz.cc */
31extern int LazyPass,LazyDegree,mu,Kstd1_deg;
32#define Kstd1_mu mu
33  /*parameters for Lazy or global stops --> ipshell.cc, grammar.y*/
34extern BITSET kOptions;
35  /*the known test options (a constant)*/
36extern BITSET validOpts;
37
38void initMora(ideal F,kStrategy strat);
39
40ideal kInterRed (ideal F, ideal Q=NULL);
41long   kModDeg(poly p, ring r = currRing);
42long  kHomModDeg(poly p, ring r = currRing);
43
44ideal stdred(ideal F, ideal Q, tHomog h,intvec ** w);
45
46lists min_std(ideal F, ideal Q, tHomog h,intvec ** w, intvec *hilb=NULL,
47              int syzComp=0,int reduced=0);
48
49
50extern pFDegProc pOldFDeg;
51extern intvec * kModW;
52
53/* options:
540 prot
551 redSB
562 Gebauer/Moeller: obachman 10/00: replaced by notBucket
573 notSugar
584 interrupt
595 sugarCrit
606 teach
617 cancel unit: obachman 11/00 tossed
628 morepairs: obachman 11/00: tossed
639 return SB (syz,quotient,intersect)
6410 fastHC
6511-19 sort in L/T
6620 redBest: obachman 11/00 tossed
6721 keep local variable with keepring of a loacal ring
6822 staircaseBound: in NF create a HC x1^degBound+1
6923 multBound
7024 degBound
7125 no redTail(p)/redTail(s)
7226 integer strategy
7327 stop at HC (finiteDeterminacyTest)
7428 infRedTail: ignore ecart in local redTail-calls
7529 kStd + 1 new element
7630 noRedSyz
7731 weight
78verbose:31 stop at certain weights
79*/
80
81#endif
82
Note: See TracBrowser for help on using the repository browser.