| 33 | #include "polys/shiftop.h" |
| 34 | |
| 35 | poly p_LPCopyAndShiftLM(poly p, int sh, const ring r) |
| 36 | { |
| 37 | if (sh == 0 || p == NULL) return p; |
| 38 | |
| 39 | poly q = p_Head(p, r); |
| 40 | p_mLPshift(q, sh, r); |
| 41 | pNext(q) = pNext(p); |
| 42 | return q; |
| 43 | } |
| 44 | |
| 45 | int p_mLPmaxPossibleShift(poly p, const ring r) |
| 46 | { |
no test coverage detected