Changeset af66d6 in git for libpolys/polys/monomials
- Timestamp:
- Aug 3, 2011, 7:36:56 PM (13 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- 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
- Location:
- libpolys/polys/monomials
- Files:
-
- 2 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 ///////////////////////////////////////////////////////////////////////////// -
libpolys/polys/monomials/ring.h
rf218a7 raf66d6 380 380 381 381 // The following are for LaScala3 only! 382 #ifdef PDEBUG 383 #define rChangeSComps(c,s,l) rDBChangeSComps(c,s,l) 384 #define rGetSComps(c,s,l) rDBGetSComps(c,s,l) 385 void rDBChangeSComps(int* currComponents, 386 long* currShiftedComponents, 387 int length, 388 ring r); 389 void rDBGetSComps(int** currComponents, 390 long** currShiftedComponents, 391 int *length, 392 ring r); 393 #else 394 #define rChangeSComps(c,s,l) rNChangeSComps(c,s) 395 #define rGetSComps(c,s,l) rNGetSComps(c,s) 396 #endif 397 398 void rNChangeSComps(int* currComponents, long* currShiftedComponents, ring r); 399 void rNGetSComps(int** currComponents, long** currShiftedComponents, ring r); 382 void rChangeSComps(int* currComponents, long* currShiftedComponents, int length, ring r); 383 void rGetSComps(int** currComponents, long** currShiftedComponents, int *length, ring r); 384 385 400 386 401 387 //idhdl rFindHdl(ring r, idhdl n, idhdl w);
Note: See TracChangeset
for help on using the changeset viewer.