Changeset e4ca29b in git
- Timestamp:
- Nov 9, 2007, 12:29:45 PM (16 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 0b4007f61f4525624acc8b539c5da92fdfe546fc
- Parents:
- e5e8e8aff2ec0d0232c8319fccfd6395577635cc
- Location:
- kernel
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/hdegree.cc
re5e8e8 re4ca29b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: hdegree.cc,v 1. 8 2007-11-06 17:55:57Singular Exp $ */4 /* $Id: hdegree.cc,v 1.9 2007-11-09 11:29:45 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - dimension, multiplicity, HC, kbase … … 1359 1359 } 1360 1360 1361 #if 0 -- alternative implementation of scComputeHC 1361 1362 void scComputeHCw(ideal ss, ideal Q, int ak, poly &hEdge, ring tailRing) 1362 1363 { … … 1419 1420 ideal res=scIdKbase(); 1420 1421 res->rank=ss->rank; 1421 poly p_ind= NULL; int ind=-2;1422 for(i=IDELEMS(res)-1;i> =0;i--)1423 { 1424 if (pCmp(res->m[i],p_ind)== 1) { p_ind=res->m[i]; ind=i; }1422 poly p_ind=res->m[0]; int ind=0; 1423 for(i=IDELEMS(res)-1;i>0;i--) 1424 { 1425 if (pCmp(res->m[i],p_ind)==-1) { p_ind=res->m[i]; ind=i; } 1425 1426 } 1426 1427 assume(p_ind!=NULL); … … 1438 1439 } 1439 1440 } 1441 #endif -
kernel/ring.cc
re5e8e8 re4ca29b 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ring.cc,v 1. 69 2007-11-06 17:55:58Singular Exp $ */4 /* $Id: ring.cc,v 1.70 2007-11-09 11:29:44 Singular Exp $ */ 5 5 6 6 /* … … 3196 3196 p_ProcsSet(r, r->p_Procs); 3197 3197 3198 // weight_all_13199 {3200 int i;3201 r->weight_all_1=TRUE;3202 for(i=r->N; i>0; i--)3203 {3204 if (pWeight(i,r)!=1) { r->weight_all_1=FALSE; break; }3205 }3206 }3207 3198 return FALSE; 3208 3199 } -
kernel/stairc.h
re5e8e8 re4ca29b 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: stairc.h,v 1. 3 2007-11-06 17:55:59Singular Exp $ */6 /* $Id: stairc.h,v 1.4 2007-11-09 11:29:44 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT … … 12 12 13 13 void scComputeHC(ideal s,ideal Q, int k,poly &hEdge, ring tailRing = currRing); 14 #if 0 - alternative implementation for tests 14 15 void scComputeHCw(ideal s,ideal Q, int k,poly &hEdge, ring tailRing = currRing); 16 #endif 15 17 16 18 intvec * scIndIntvec(ideal S, ideal Q=NULL); -
kernel/structs.h
re5e8e8 re4ca29b 4 4 * Computer Algebra System SINGULAR * 5 5 ****************************************/ 6 /* $Id: structs.h,v 1.4 0 2007-11-06 17:55:59Singular Exp $ */6 /* $Id: structs.h,v 1.41 2007-11-09 11:29:44 Singular Exp $ */ 7 7 /* 8 8 * ABSTRACT … … 574 574 // 1 for lex ordering (except ls), -1 otherwise 575 575 BOOLEAN ComponentOrder; 576 BOOLEAN weight_all_1; // 1 if all weights are 1577 576 578 577
Note: See TracChangeset
for help on using the changeset viewer.