source: git/kernel/kstd1.h @ 18ff4c

jengelh-datetimespielwiese
Last change on this file since 18ff4c was 18ff4c, checked in by Hans Schönemann <hannes@…>, 16 years ago
*hannes: NF, code cleanup git-svn-id: file:///usr/local/Singular/svn/trunk@10253 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100644
File size: 2.6 KB
Line 
1#ifndef KSTD1_H
2#define KSTD1_H
3/****************************************
4*  Computer Algebra System SINGULAR     *
5****************************************/
6/* $Id: kstd1.h,v 1.2 2007-07-25 10:53:15 Singular 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
36/* the following global data are defined in kutil.cc */
37//extern int syzComp;
38  /*stop building pairs after that component --> ideals.cc, syz.cc */
39extern int LazyPass,LazyDegree,mu,Kstd1_deg;
40#define Kstd1_mu mu
41  /*parameters for Lazy or global stops --> ipshell.cc, grammar.y*/
42extern BITSET kOptions;
43  /*the known test options (a constant)*/
44extern BITSET validOpts;
45
46void initMora(ideal F,kStrategy strat);
47
48ideal kInterRed (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;
61
62/* options:
630 prot
641 redSB
652 Gebauer/Moeller: obachman 10/00: replaced by notBucket
663 notSugar
674 interrupt
685 sugarCrit
696 teach
707 cancel unit: obachman 11/00 tossed
718 morepairs: obachman 11/00: tossed
729 return SB (syz,quotient,intersect)
7310 fastHC
7411-19 sort in L/T
7520 redBest: obachman 11/00 tossed
7621 keep local variable with keepring of a loacal ring
7722 staircaseBound: in NF create a HC x1^degBound+1
7823 multBound
7924 degBound
8025 no redTail(p)/redTail(s)
8126 integer strategy
8227 stop at HC (finiteDeterminacyTest)
8328 infRedTail: ignore ecart in local redTail-calls
8429 kStd + 1 new element
8530 noRedSyz
8631 weight
87verbose:31 stop at certain weights
88*/
89
90#endif
91
Note: See TracBrowser for help on using the repository browser.