Changeset a81a22 in git
- Timestamp:
- Jul 15, 2005, 1:58:24 PM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 26620d841aad6a1ce3ba68c3114ee40ccffe0576
- Parents:
- 0012cd4f13750d91e4a0ed30bff8169440d35f3f
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gring.cc
r0012cd ra81a22 7 7 * Author: levandov (Viktor Levandovsky) 8 8 * Created: 8/00 - 11/00 9 * Version: $Id: gring.cc,v 1.2 5 2005-04-22 18:09:42levandov Exp $9 * Version: $Id: gring.cc,v 1.26 2005-07-15 11:58:24 levandov Exp $ 10 10 *******************************************************************/ 11 11 #include "mod2.h" … … 1228 1228 void nc_kBucketPolyRed(kBucket_pt b, poly p, number *c) 1229 1229 { 1230 // b will not b ymultiplied by any constant in this impl.1230 // b will not be multiplied by any constant in this impl. 1231 1231 // ==> *c=1 1232 1232 *c=nInit(1); … … 1255 1255 int l=pLength(pp); 1256 1256 kBucket_Add_q(b,pp,&l); 1257 } 1258 1259 void nc_kBucketPolyRed_Z(kBucket_pt b, poly p, number *c) 1260 { 1261 // b is multiplied by a constant in this impl. 1262 poly m=pOne(); 1263 pExpVectorDiff(m,kBucketGetLm(b),p); 1264 //pSetm(m); 1265 #ifdef PDEBUG 1266 pTest(m); 1267 #endif 1268 poly pp = nc_mm_Mult_p(m,pCopy(p),currRing); 1269 pDelete(&m); 1270 *c = kBucketPolyRed(b,pp,pLength(pp),NULL); 1257 1271 } 1258 1272 -
kernel/gring.h
r0012cd ra81a22 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: gring.h,v 1.1 1 2005-04-22 18:09:42levandov Exp $ */6 /* $Id: gring.h,v 1.12 2005-07-15 11:58:23 levandov Exp $ */ 7 7 /* 8 8 * ABSTRACT additional defines etc for --with-plural … … 80 80 /* void nc_kBucketPolyRed(kBucket_pt b, poly p); */ 81 81 void nc_kBucketPolyRed(kBucket_pt b, poly p, number *c); 82 void nc_kBucketPolyRed_Z(kBucket_pt b, poly p, number *c); 82 83 void nc_PolyPolyRed(poly &b, poly p, number *c); 83 84
Note: See TracChangeset
for help on using the changeset viewer.