Go to the source code of this file.
◆ pLPCopyAndShiftLM
◆ pmLPmaxPossibleShift
◆ p_LPCopyAndShiftLM()
poly p_LPCopyAndShiftLM |
( |
poly |
p, |
|
|
int |
sh, |
|
|
const ring |
r |
|
) |
| |
Definition at line 35 of file shiftgb.cc.
36{
37 if (sh == 0 ||
p ==
NULL)
return p;
38
42 return q;
43}
static poly p_Head(const poly p, const ring r)
copy the (leading) term of p
void p_mLPshift(poly m, int sh, const ring ri)
◆ p_mLPmaxPossibleShift()
int p_mLPmaxPossibleShift |
( |
poly |
p, |
|
|
const ring |
r |
|
) |
| |
Definition at line 45 of file shiftgb.cc.
46{
48 if (lastBlock == 0) return 0;
49 int uptodeg = r->N/r->isLPring;
50 return uptodeg - lastBlock;
51}
int p_mLastVblock(poly p, const ring ri)