1 | #ifndef SHIFTGB_H |
---|
2 | #define SHIFTGB_H |
---|
3 | /**************************************** |
---|
4 | * Computer Algebra System SINGULAR * |
---|
5 | ****************************************/ |
---|
6 | /* |
---|
7 | * ABSTRACT: kernel: utils for kStd |
---|
8 | */ |
---|
9 | |
---|
10 | #include "kernel/structs.h" |
---|
11 | #ifdef HAVE_SHIFTBBA |
---|
12 | #include "polys/nc/nc.h" |
---|
13 | |
---|
14 | poly p_LPshiftT(poly p, int sh, int uptodeg, int lV, kStrategy strat, const ring r); |
---|
15 | int p_LastVblockT(poly p, int lV, kStrategy strat, const ring r); |
---|
16 | |
---|
17 | poly p_ShrinkT(poly p, int lV, kStrategy strat, const ring r); |
---|
18 | poly p_Shrink(poly p, int lV, const ring r); |
---|
19 | poly p_mShrink(poly p, int lV, const ring r); |
---|
20 | //poly p_Shrink(poly p, int uptodeg, int lV, kStrategy strat, const ring r); |
---|
21 | //poly p_mShrink(poly p, int uptodeg, int lV, const ring r); |
---|
22 | |
---|
23 | poly p_LPshift(poly p, int sh, int uptodeg, int lV,const ring r); |
---|
24 | poly p_mLPshift(poly p, int sh, int uptodeg, int lV,const ring r); |
---|
25 | |
---|
26 | int p_mLastVblock(poly p, int lV,const ring r); |
---|
27 | int p_LastVblock(poly p, int lV, const ring r); |
---|
28 | |
---|
29 | //int pLastVblock(poly p, int lV); |
---|
30 | #define pLastVblock(p,lV) p_LastVblock(p,lV,currRing) |
---|
31 | //int pmLastVblock(poly p, int lV); |
---|
32 | #define pmLastVblock(p,lV) p_mLastVblock(p,lV,currRing) |
---|
33 | |
---|
34 | int pFirstVblock(poly p, int lV); |
---|
35 | int pmFirstVblock(poly p, int lV); |
---|
36 | |
---|
37 | int isInV(poly p, int lV); |
---|
38 | int poly_isInV(poly p, int lV); |
---|
39 | int ideal_isInV(ideal I, int lV); |
---|
40 | |
---|
41 | int itoInsert(poly p, int uptodeg, int lV, const ring r); |
---|
42 | |
---|
43 | #endif |
---|
44 | #endif |
---|