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

Function p_LPCopyAndShiftLM

kernel/GBEngine/shiftgb.cc:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33#include "polys/shiftop.h"
34
35poly 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
45int p_mLPmaxPossibleShift(poly p, const ring r)
46{

Callers 1

ksCreateShortSpolyFunction · 0.85

Calls 2

p_HeadFunction · 0.85
p_mLPshiftFunction · 0.85

Tested by

no test coverage detected