Changeset 0b5677 in git
- Timestamp:
- Aug 22, 2018, 5:01:00 PM (5 years ago)
- Branches:
- (u'spielwiese', '2fa36c576e6a4ddbb1093b43c7f8e9835e17e52a')
- Children:
- 220277fa8e83a4114de1b10f16c45589bf2e4730
- Parents:
- 85d7d333234b16c76e1eca63a87f3ab727763f92
- Location:
- kernel/GBEngine
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/GBEngine/shiftgb.cc
r85d7d3 r0b5677 128 128 } 129 129 130 int p_LastVblockT(poly p, kStrategy strat, const ring r)131 {132 /* returns the number of maximal block */133 /* appearing among the monomials of p */134 /* the 0th block is the 1st one */135 136 /* p is like TObject: lm in currRing = r, tail in tailRing */137 assume(p_LmCheckIsFromRing(p,r));138 assume(p_CheckIsFromRing(pNext(p),strat->tailRing));139 140 int ans = p_mLastVblock(p, r); // Block of LM141 poly q = pNext(p);142 while (q != NULL)143 {144 int ansnew = p_mLastVblock(q, strat->tailRing);145 ans = si_max(ans,ansnew);146 pIter(q);147 }148 /* do not need to delete q */149 return(ans);150 }151 152 130 /* returns the number of maximal block */ 153 131 /* appearing among the monomials of p */ -
kernel/GBEngine/shiftgb.h
r85d7d3 r0b5677 13 13 14 14 poly p_LPshiftT(poly p, int sh, kStrategy strat, const ring r); 15 int p_LastVblockT(poly p, kStrategy strat, const ring r);16 15 17 16 poly p_LPshift(poly p, int sh, const ring r);
Note: See TracChangeset
for help on using the changeset viewer.