MCPcopy Create free account
hub / github.com/Singular/Singular / p_mLPmaxPossibleShift

Function p_mLPmaxPossibleShift

kernel/GBEngine/shiftgb.cc:45–51  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43}
44
45int p_mLPmaxPossibleShift(poly p, const ring r)
46{
47 int lastBlock = p_mLastVblock(p, r);
48 if (lastBlock == 0) return 0;
49 int uptodeg = r->N/r->isLPring;
50 return uptodeg - lastBlock;
51}
52
53#endif

Callers 2

enterSBbaShiftFunction · 0.85
enterTShiftFunction · 0.85

Calls 1

p_mLastVblockFunction · 0.85

Tested by

no test coverage detected