Changeset 1a68d1d in git
- Timestamp:
- Dec 4, 2009, 4:23:39 PM (14 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- a23a297b3ce46de66672d1b0f7796e93c2ccb4de
- Parents:
- 110e7218b8ba9a4ff67f658f9c7d7256229b44f2
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r110e721 r1a68d1d 558 558 559 559 /*2 560 * concat h1 and h2 (if h2 is neither zero nor a generator of h1) 561 */ 562 void idInsertPolyNoDuplicates (ideal h1,poly h2) 563 { 564 bool h2FoundInH1 = false; 565 int i = 0; 566 while ((i < IDELEMS(h1)) && (!h2FoundInH1)) 567 { 568 h2FoundInH1 = pEqualPolys(h1->m[i], h2); 569 i++; 570 } 571 if (!h2FoundInH1) idInsertPoly(h1, h2); 572 } 573 574 /*2 560 575 * h1 + h2 561 576 */ -
kernel/ideals.h
r110e721 r1a68d1d 55 55 /* h1 + h2 */ 56 56 void idInsertPoly (ideal h1,poly h2); 57 /* h1 + h2 */ 58 void idInsertPolyNoDuplicates (ideal h1,poly h2); 57 59 /* h1 + h2 */ 58 60 ideal idMult (ideal h1,ideal h2);
Note: See TracChangeset
for help on using the changeset viewer.