My Project
Loading...
Searching...
No Matches
kstd1.h
Go to the documentation of this file.
1#ifndef KSTD1_H
2#define KSTD1_H
3/****************************************
4* Computer Algebra System SINGULAR *
5****************************************/
6/*
7* ABSTRACT
8*/
9#include "kernel/structs.h"
11
13
15
16// lazy_reduce flags: can be combined by |
17#define KSTD_NF_LAZY 1
18 // do only a reduction of the leading term
19#define KSTD_NF_ECART 2
20 // only local: reduce even with bad ecart
21#define KSTD_NF_NONORM 4
22 // only global: avoid normalization, return a multiply of NF
23#define KSTD_NF_NOLF 8
24 // avoid PrintLn with OPT_PROT
25
26poly kNF1(ideal F, ideal Q, poly q, kStrategy strat, int lazyReduce);
28
29poly kNF (ideal F, ideal Q, poly p,int syzComp=0, int lazyReduce=0);
30ideal kNF(ideal F, ideal Q, ideal p,int syzComp=0, int lazyReduce=0);
31
32poly kNFBound (ideal F, ideal Q, poly p,int bound,int syzComp=0, int lazyReduce=0);
33ideal kNFBound (ideal F, ideal Q, ideal p,int bound,int syzComp=0, int lazyReduce=0);
35
36/// NOTE: this is just a wrapper which sets currRing for the actual kNF call
37poly k_NF (ideal F, ideal Q, poly p,int syzComp, int lazyReduce, const ring _currRing);
39 int syzComp=0,int newIdeal=0, intvec *vw=NULL);
40
42 int syzComp=0,int newIdeal=0, intvec *vw=NULL, s_poly_proc_t sp=NULL);
43
45 int syzComp=0, int newIdeal=0, intvec *vw=NULL, BOOLEAN rightGB=FALSE);
46
47ideal rightgb(ideal F,const ideal Q);
48
49/* the following global data are defined in kutil.cc */
50//extern int syzComp;
51 /*stop building pairs after that component --> ideals.cc, syz.cc */
53 /*parameters for global stops --> ipshell.cc, grammar.y*/
55 /*the known test options (a constant)*/
57
58void initMora(ideal F,kStrategy strat);
59
60ideal kInterRed (ideal F, const ideal Q=NULL);
62long kModDeg(poly p, const ring r = currRing);
63long kHomModDeg(poly p, const ring r = currRing);
64
66
68 intvec *hilb=NULL, int syzComp=0,int reduced=0);
69
71
74
75
76/* options:
770 prot
781 redSB
792 notBucket
803 notSugar
814 interrupt
825 sugarCrit
836 teach
847 cancel unit: obachman 11/00 tossed
858 morepairs: obachman 11/00: tossed
869 return SB (syz,quotient,intersect)
8710 fastHC
8811-19 sort in L/T
8920 redBest: obachman 11/00 tossed
90
9122 staircaseBound: in NF create a HC x1^degBound+1
9223 multBound
9324 degBound
9425 no redTail(p)/redTail(s)
9526 integer strategy
9627 stop at HC (finiteDeterminacyTest)
9728 infRedTail: ignore ecart in local redTail-calls
9829 kStd + 1 new element
9930 noRedSyz
10031 weight
101verbose:31 stop at certain weights
102*/
103
104#endif
105
#define BITSET
Definition auxiliary.h:85
int BOOLEAN
Definition auxiliary.h:88
#define FALSE
Definition auxiliary.h:97
int p
Definition cfModGcd.cc:4086
static CanonicalForm bound(const CFMatrix &M)
Definition cf_linsys.cc:460
const CanonicalForm & w
Definition facAbsFact.cc:51
CanonicalForm factor
Definition facAbsFact.cc:97
#define EXTERN_VAR
Definition globaldefs.h:6
STATIC_VAR Poly * h
Definition janet.cc:971
long kHomModDeg(poly p, const ring r=currRing)
Definition kstd1.cc:2418
EXTERN_VAR intvec * kHomW
Definition kstd1.h:73
EXTERN_VAR int Kstd1_deg
Definition kstd1.h:52
ideal mora(ideal F, ideal Q, intvec *w, intvec *hilb, kStrategy strat)
Definition kstd1.cc:1879
void initMora(ideal F, kStrategy strat)
Definition kstd1.cc:1812
poly k_NF(ideal F, ideal Q, poly p, int syzComp, int lazyReduce, const ring _currRing)
NOTE: this is just a wrapper which sets currRing for the actual kNF call.
Definition kstd1.cc:3475
ideal kInterRedOld(ideal F, const ideal Q=NULL)
Definition kstd1.cc:3488
EXTERN_VAR intvec * kModW
Definition kstd1.h:72
BOOLEAN kVerify(ideal F, ideal Q)
ideal stdred(ideal F, ideal Q, tHomog h, intvec **w)
poly kNFBound(ideal F, ideal Q, poly p, int bound, int syzComp=0, int lazyReduce=0)
Definition kstd1.cc:3317
poly kNF1(ideal F, ideal Q, poly q, kStrategy strat, int lazyReduce)
Definition kstd1.cc:2116
EXTERN_VAR BITSET kOptions
Definition kstd1.h:54
ideal idDivRem(ideal A, const ideal quot, ideal &factor, ideal *unit, int lazyReduce=0)
Definition kLiftstd.cc:347
ideal rightgb(ideal F, const ideal Q)
Definition kstd2.cc:4954
long kModDeg(poly p, const ring r=currRing)
Definition kstd1.cc:2408
BOOLEAN(* s_poly_proc_t)(kStrategy strat)
Definition kstd1.h:14
ideal kInterRed(ideal F, const ideal Q=NULL)
Definition kstd1.cc:3834
ideal kStd(ideal F, ideal Q, tHomog h, intvec **mw, intvec *hilb=NULL, int syzComp=0, int newIdeal=0, intvec *vw=NULL, s_poly_proc_t sp=NULL)
Definition kstd1.cc:2674
EXTERN_VAR int Kstd1_mu
Definition kstd1.h:52
ideal kSba(ideal F, ideal Q, tHomog h, intvec **mw, int incremental=0, int arri=0, intvec *hilb=NULL, int syzComp=0, int newIdeal=0, intvec *vw=NULL)
Definition kstd1.cc:2708
poly kNF(ideal F, ideal Q, poly p, int syzComp=0, int lazyReduce=0)
Definition kstd1.cc:3261
ideal kMin_std(ideal F, ideal Q, tHomog h, intvec **w, ideal &M, intvec *hilb=NULL, int syzComp=0, int reduced=0)
Definition kstd1.cc:3109
EXTERN_VAR BITSET validOpts
Definition kstd1.h:56
ideal kStdShift(ideal F, ideal Q, tHomog h, intvec **mw, intvec *hilb=NULL, int syzComp=0, int newIdeal=0, intvec *vw=NULL, BOOLEAN rightGB=FALSE)
Definition kstd1.cc:3004
#define NULL
Definition omList.c:12
VAR ring currRing
Widely used global variable which specifies the current polynomial ring for Singular interpreter and ...
Definition polys.cc:13
#define A
Definition sirandom.c:24
#define M
Definition sirandom.c:25
#define Q
Definition sirandom.c:26
tHomog
Definition structs.h:31