source: git/kernel/kstd1.h @ 3ad53dd

spielwiese
Last change on this file since 3ad53dd was 1c473f, checked in by Viktor Levandovskyy <levandov@…>, 16 years ago
*levandov: modifications of shift free gb git-svn-id: file:///usr/local/Singular/svn/trunk@10606 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.8 KB
Line 
1#ifndef KSTD1_H
2#define KSTD1_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id: kstd1.h,v 1.3 2008-02-24 17:41:31 levandov 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
19// lazy_reduce flags: can be combined by |
20#define KSTD_NF_LAZY   1
21  // do only a reduction of the leading term
22#define KSTD_NF_ECART  2
23  // only local: recude even with bad ecart
24#define KSTD_NF_NONORM 4
25  // only global: avoid normamlization, return a multiply of NF
26
27poly kNF1(ideal F, ideal Q, poly q, kStrategy strat, int lazyReduce);
28ideal kNF1 (ideal F,ideal Q,ideal q, kStrategy strat, int lazyReduce);
29
30poly kNF (ideal F, ideal Q, poly p,int syzComp=0, int lazyReduce=0);
31ideal kNF(ideal F, ideal Q, ideal p,int syzComp=0, int lazyReduce=0);
32
33ideal kStd(ideal F, ideal Q, tHomog h, intvec ** mw,intvec *hilb=NULL,
34          int syzComp=0,int newIdeal=0, intvec *vw=NULL);
35
36ideal kStdShift(ideal F, ideal Q, tHomog h,intvec ** w, intvec *hilb,int syzComp,
37                int newIdeal, intvec *vw, int uptodeg, int lVblock);
38
39/* the following global data are defined in kutil.cc */
40//extern int syzComp;
41  /*stop building pairs after that component --> ideals.cc, syz.cc */
42extern int LazyPass,LazyDegree,mu,Kstd1_deg;
43#define Kstd1_mu mu
44  /*parameters for Lazy or global stops --> ipshell.cc, grammar.y*/
45extern BITSET kOptions;
46  /*the known test options (a constant)*/
47extern BITSET validOpts;
48
49void initMora(ideal F,kStrategy strat);
50
51ideal kInterRed (ideal F, ideal Q=NULL);
52long   kModDeg(poly p, ring r = currRing);
53long  kHomModDeg(poly p, ring r = currRing);
54
55ideal stdred(ideal F, ideal Q, tHomog h,intvec ** w);
56
57ideal kMin_std(ideal F, ideal Q, tHomog h,intvec ** w, ideal &M,
58              intvec *hilb=NULL, int syzComp=0,int reduced=0);
59
60
61extern pFDegProc pFDegOld;
62extern pLDegProc pLDegOld;
63extern intvec * kModW;
64
65/* options:
660 prot
671 redSB
682 Gebauer/Moeller: obachman 10/00: replaced by notBucket
693 notSugar
704 interrupt
715 sugarCrit
726 teach
737 cancel unit: obachman 11/00 tossed
748 morepairs: obachman 11/00: tossed
759 return SB (syz,quotient,intersect)
7610 fastHC
7711-19 sort in L/T
7820 redBest: obachman 11/00 tossed
7921 keep local variable with keepring of a loacal ring
8022 staircaseBound: in NF create a HC x1^degBound+1
8123 multBound
8224 degBound
8325 no redTail(p)/redTail(s)
8426 integer strategy
8527 stop at HC (finiteDeterminacyTest)
8628 infRedTail: ignore ecart in local redTail-calls
8729 kStd + 1 new element
8830 noRedSyz
8931 weight
90verbose:31 stop at certain weights
91*/
92
93#endif
94
Note: See TracBrowser for help on using the repository browser.