Changeset af66d6 in git for libpolys/polys/monomials/ring.cc
- Timestamp:
- Aug 3, 2011, 7:36:56 PM (12 years ago)
- Branches:
- (u'spielwiese', '91fdef05f09f54b8d58d92a472e9c4a43aa4656f')
- Children:
- 1e872a8ed7451934142b28236ec124f6235b5679
- Parents:
- f218a7daf5f60792a940256fb8358b13d4d85ef3
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 19:36:56+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:22+01:00
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/ring.cc
rf218a7 raf66d6 4204 4204 * change the block to reflect the sequence given by appending v 4205 4205 */ 4206 4206 static inline void rNChangeSComps(int* currComponents, long* currShiftedComponents, ring r) 4207 { 4208 assume(r->typ[1].ord_typ == ro_syzcomp); 4209 4210 r->typ[1].data.syzcomp.ShiftedComponents = currShiftedComponents; 4211 r->typ[1].data.syzcomp.Components = currComponents; 4212 } 4213 4214 static inline void rNGetSComps(int** currComponents, long** currShiftedComponents, ring r) 4215 { 4216 assume(r->typ[1].ord_typ == ro_syzcomp); 4217 4218 *currShiftedComponents = r->typ[1].data.syzcomp.ShiftedComponents; 4219 *currComponents = r->typ[1].data.syzcomp.Components; 4220 } 4207 4221 #ifdef PDEBUG 4208 void rDBChangeSComps(int* currComponents,4222 static inline void rDBChangeSComps(int* currComponents, 4209 4223 long* currShiftedComponents, 4210 4224 int length, … … 4216 4230 rNChangeSComps( currComponents, currShiftedComponents, r); 4217 4231 } 4218 void rDBGetSComps(int** currComponents,4232 static inline void rDBGetSComps(int** currComponents, 4219 4233 long** currShiftedComponents, 4220 4234 int *length, … … 4228 4242 #endif 4229 4243 4230 void rNChangeSComps(int* currComponents, long* currShiftedComponents, ring r) 4231 { 4232 assume(r->typ[1].ord_typ == ro_syzcomp); 4233 4234 r->typ[1].data.syzcomp.ShiftedComponents = currShiftedComponents; 4235 r->typ[1].data.syzcomp.Components = currComponents; 4236 } 4237 4238 void rNGetSComps(int** currComponents, long** currShiftedComponents, ring r) 4239 { 4240 assume(r->typ[1].ord_typ == ro_syzcomp); 4241 4242 *currShiftedComponents = r->typ[1].data.syzcomp.ShiftedComponents; 4243 *currComponents = r->typ[1].data.syzcomp.Components; 4244 } 4244 void rChangeSComps(int* currComponents, long* currShiftedComponents, int length, ring r) 4245 { 4246 #ifdef PDEBUG 4247 rDBChangeSComps(currComponents, currShiftedComponents, length, r); 4248 #else 4249 rNChangeSComps(currComponents, currShiftedComponents, r); 4250 #endif 4251 } 4252 4253 void rGetSComps(int** currComponents, long** currShiftedComponents, int *length, ring r) 4254 { 4255 #ifdef PDEBUG 4256 rDBGetSComps(currComponents, currShiftedComponents, length, r); 4257 #else 4258 rNGetSComps(currComponents, currShiftedComponents, r); 4259 #endif 4260 } 4261 4245 4262 4246 4263 /////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.