source: git/kernel/kstd1.h @ 88d14b

spielwiese
Last change on this file since 88d14b was d544b1, checked in by Hans Schönemann <hannes@…>, 14 years ago
option qringNF git-svn-id: file:///usr/local/Singular/svn/trunk@12470 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.5 KB
Line 
1#ifndef KSTD1_H
2#define KSTD1_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id$ */
7/*
8* ABSTRACT
9*/
10#include "structs.h"
11#include "ring.h"
12
13ideal mora (ideal F, ideal Q,intvec *w,intvec *hilb,kStrategy strat);
14
15// lazy_reduce flags: can be combined by |
16#define KSTD_NF_LAZY   1
17  // do only a reduction of the leading term
18#define KSTD_NF_ECART  2
19  // only local: recude even with bad ecart
20#define KSTD_NF_NONORM 4
21  // only global: avoid normalization, return a multiply of NF
22
23poly kNF1(ideal F, ideal Q, poly q, kStrategy strat, int lazyReduce);
24ideal kNF1 (ideal F,ideal Q,ideal q, kStrategy strat, int lazyReduce);
25
26poly kNF (ideal F, ideal Q, poly p,int syzComp=0, int lazyReduce=0);
27ideal kNF(ideal F, ideal Q, ideal p,int syzComp=0, int lazyReduce=0);
28
29ideal kStd(ideal F, ideal Q, tHomog h, intvec ** mw,intvec *hilb=NULL,
30          int syzComp=0,int newIdeal=0, intvec *vw=NULL);
31
32ideal kStdShift(ideal F, ideal Q, tHomog h,intvec ** w, intvec *hilb,int syzComp,
33                int newIdeal, intvec *vw, int uptodeg, int lVblock);
34
35/* the following global data are defined in kutil.cc */
36//extern int syzComp;
37  /*stop building pairs after that component --> ideals.cc, syz.cc */
38extern int LazyPass,LazyDegree,mu,Kstd1_deg;
39#define Kstd1_mu mu
40  /*parameters for Lazy or global stops --> ipshell.cc, grammar.y*/
41extern BITSET kOptions;
42  /*the known test options (a constant)*/
43extern BITSET validOpts;
44
45void initMora(ideal F,kStrategy strat);
46
47ideal kInterRed (ideal F, ideal Q=NULL);
48ideal kInterRedOld (ideal F, ideal Q=NULL);
49long   kModDeg(poly p, ring r = currRing);
50long  kHomModDeg(poly p, ring r = currRing);
51
52ideal stdred(ideal F, ideal Q, tHomog h,intvec ** w);
53
54ideal kMin_std(ideal F, ideal Q, tHomog h,intvec ** w, ideal &M,
55              intvec *hilb=NULL, int syzComp=0,int reduced=0);
56
57
58extern pFDegProc pFDegOld;
59extern pLDegProc pLDegOld;
60extern intvec * kModW;
61extern intvec * kHomW;
62
63
64/* options:
650 prot
661 redSB
672 notBucket
683 notSugar
694 interrupt
705 sugarCrit
716 teach
727 cancel unit: obachman 11/00 tossed
738 morepairs: obachman 11/00: tossed
749 return SB (syz,quotient,intersect)
7510 fastHC
7611-19 sort in L/T
7720 redBest: obachman 11/00 tossed
78
7922 staircaseBound: in NF create a HC x1^degBound+1
8023 multBound
8124 degBound
8225 no redTail(p)/redTail(s)
8326 integer strategy
8427 stop at HC (finiteDeterminacyTest)
8528 infRedTail: ignore ecart in local redTail-calls
8629 kStd + 1 new element
8730 noRedSyz
8831 weight
89verbose:31 stop at certain weights
90*/
91
92#endif
93
Note: See TracBrowser for help on using the repository browser.