Changeset e070895 in git
- Timestamp:
- Oct 6, 2009, 11:32:54 AM (14 years ago)
- Branches:
- (u'spielwiese', '828514cf6e480e4bafc26df99217bf2a1ed1ef45')
- Children:
- 16a86e2831249582a4e9cc321c76313bad539fdd
- Parents:
- 3e96c5dc8f5e261b746d32bb4d985ec8def80154
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
r3e96c5d re070895 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1. 79 2009-09-29 10:36:23Singular Exp $ */4 /* $Id: ideals.cc,v 1.80 2009-10-06 09:32:54 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - all basic methods to manipulate ideals … … 70 70 } 71 71 72 //#ifndef __OPTIMIZE__73 // this is mainly for outputting an ideal within the debugger & DetailedPrint72 #ifndef __OPTIMIZE__ 73 // this is only for outputting an ideal within the debugger 74 74 void idShow(const ideal id, const ring lmRing, const ring tailRing, const int debugPrint) 75 75 { … … 91 91 } 92 92 } 93 //#endif93 #endif 94 94 95 95 /*2 … … 541 541 542 542 /*2 543 * concat h1 and h2 544 */ 545 void idInsertPoly (ideal h1,poly h2) 546 { 547 if (h2==NULL) return; 548 int j = IDELEMS(h1)-1; 549 while ((j >= 0) && (h1->m[j] == NULL)) j--; 550 j++; 551 if (j==IDELEMS(h1)) 552 { 553 pEnlargeSet(&(h1->m),IDELEMS(h1),16); 554 IDELEMS(h1)+=16; 555 } 556 h1->m[j]=h2; 557 } 558 559 /*2 543 560 * h1 + h2 544 561 */ -
kernel/ideals.h
r3e96c5d re070895 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: ideals.h,v 1.1 4 2009-07-20 12:00:50 motsakExp $ */6 /* $Id: ideals.h,v 1.15 2009-10-06 09:32:54 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT - all basic methods to manipulate ideals … … 55 55 /*adds the quotient ideal*/ 56 56 ideal idAdd (ideal h1,ideal h2); 57 /* h1 + h2 */ 58 void idInsertPoly (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.