Changeset 2c52441 in git
- Timestamp:
- Aug 3, 2011, 8:29:27 PM (12 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- b54a36e9b7e412f88420858a291fa64c90adfebe
- Parents:
- 47a4c2d983f929beff4c8f6c6aff4ac93dda2323
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-08-03 20:29:27+02:00
- git-committer:
- Mohamed Barakat <mohamed.barakat@rwth-aachen.de>2011-11-09 13:14:24+01:00
- Location:
- libpolys
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
libpolys/polys/monomials/ring.cc
r47a4c2 r2c52441 4497 4497 } 4498 4498 4499 static ring rAssure_CompLastBlock(ring r, BOOLEAN complete = TRUE)4499 ring rAssure_CompLastBlock(ring r, BOOLEAN complete) 4500 4500 { 4501 4501 int last_block = rBlocks(r) - 2; … … 4552 4552 4553 4553 // Moves _c or _C ordering to the last place AND adds _s on the 1st place 4554 ring rAssure_SyzComp_CompLastBlock(const ring r) 4555 { 4554 ring rAssure_SyzComp_CompLastBlock(const ring r, BOOLEAN) 4555 { 4556 rTest(r); 4557 4556 4558 ring new_r_1 = rAssure_CompLastBlock(r, FALSE); // due to this FALSE - no completion! 4557 4559 ring new_r = rAssure_SyzComp(new_r_1, FALSE); // new_r_1 is used only here!!! 4558 4560 4559 if (new_r != r) 4560 { 4561 ring old_r = r; 4562 if (new_r_1 != new_r && new_r_1 != old_r) rDelete(new_r_1); 4563 rComplete(new_r, 1); 4561 if (new_r == r) 4562 return r; 4563 4564 ring old_r = r; 4565 if (new_r_1 != new_r && new_r_1 != old_r) rDelete(new_r_1); 4566 4567 rComplete(new_r, 1); 4564 4568 #ifdef HAVE_PLURAL 4565 4566 4567 if ( nc_rComplete(old_r, new_r, false) ) // no qideal!4568 {4569 # ifndef NDEBUG4570 4571 # endif4572 4573 4574 assume(rIsPluralRing(new_r) == rIsPluralRing(old_r)); 4575 #endif 4569 if (rIsPluralRing(old_r)) 4570 { 4571 if ( nc_rComplete(old_r, new_r, false) ) // no qideal! 4572 { 4573 # ifndef NDEBUG 4574 WarnS("error in nc_rComplete"); // cleanup? rDelete(res); return r; // just go on...? 4575 # endif 4576 } 4577 } 4578 #endif 4579 4576 4580 ///? rChangeCurrRing(new_r); 4577 4578 4581 if (old_r->qideal != NULL) 4582 { 4579 4583 new_r->qideal = idrCopyR(old_r->qideal, old_r, new_r); 4580 4584 //currQuotient = new_r->qideal; 4585 } 4581 4586 4582 4587 #ifdef HAVE_PLURAL 4583 4584 4585 4588 if( rIsPluralRing(old_r) ) 4589 if( nc_SetupQuotient(new_r, old_r, true) ) 4590 { 4586 4591 #ifndef NDEBUG 4587 WarnS("error in nc_SetupQuotient"); // cleanup? rDelete(res); return r; // just go on...? 4588 #endif 4589 } 4590 #endif 4591 } 4592 WarnS("error in nc_SetupQuotient"); // cleanup? rDelete(res); return r; // just go on...? 4593 #endif 4594 } 4595 #endif 4592 4596 4593 4597 #ifdef HAVE_PLURAL 4594 assume((new_r->qideal==NULL) == (old_r->qideal==NULL)); 4595 assume(rIsPluralRing(new_r) == rIsPluralRing(old_r)); 4596 assume(rIsSCA(new_r) == rIsSCA(old_r)); 4597 assume(ncRingType(new_r) == ncRingType(old_r)); 4598 #endif 4599 4600 rTest(new_r); 4601 rTest(old_r); 4602 } 4603 return new_r; 4598 assume((new_r->qideal==NULL) == (old_r->qideal==NULL)); 4599 assume(rIsPluralRing(new_r) == rIsPluralRing(old_r)); 4600 assume(rIsSCA(new_r) == rIsSCA(old_r)); 4601 assume(ncRingType(new_r) == ncRingType(old_r)); 4602 #endif 4603 4604 rTest(new_r); 4605 rTest(old_r); 4606 return new_r; 4604 4607 } 4605 4608 -
libpolys/polys/monomials/ring.h
r47a4c2 r2c52441 632 632 /// makes sure that c/C ordering is last ordering and SyzIndex is first 633 633 ring rAssure_SyzComp_CompLastBlock(const ring r, BOOLEAN complete = TRUE); 634 ring rAssure_TDeg(const ring r, int start_var, int end_var, int &pos , BOOLEAN complete = TRUE);634 ring rAssure_TDeg(const ring r, int start_var, int end_var, int &pos); 635 635 636 636 /// return the max-comonent wchich has syzIndex i -
libpolys/resources/feResource.cc
r47a4c2 r2c52441 17 17 18 18 #include "feResource.h" 19 20 char* feArgv0 = NULL; 19 21 20 22 #ifdef AIX_4 -
libpolys/resources/feResource.h
r47a4c2 r2c52441 43 43 // Prints resources into string with StringAppend, etc 44 44 void feStringAppendResources(int warn = -1); 45 #endif /* end ifdef __cplusplus */ 45 46 46 #endif 47 /* end ifdef __cplusplus */ 48 49 char* feArgv0=NULL; 47 extern char* feArgv0; 50 48 51 49 const char fePathSep =
Note: See TracChangeset
for help on using the changeset viewer.