Changeset 7d60f7 in git
- Timestamp:
- Oct 29, 2009, 4:54:04 PM (14 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '00e2e9c41af3fde1273eb3633f4c0c7c3db2579d')
- Children:
- 61197ff3d42399e95c952f06a3cd10fdd665dd82
- Parents:
- f5d2963eec6952b42517b3865c98f0a7ddedae43
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gfan.cc
rf5d2963 r7d60f7 2 2 Compute the Groebner fan of an ideal 3 3 $Author: monerjan $ 4 $Date: 2009-10-2 3 14:56:55$5 $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.10 0 2009-10-23 14:56:55monerjan Exp $6 $Id: gfan.cc,v 1.10 0 2009-10-23 14:56:55monerjan Exp $4 $Date: 2009-10-29 15:54:04 $ 5 $Header: /exports/cvsroot-2/cvsroot/kernel/gfan.cc,v 1.101 2009-10-29 15:54:04 monerjan Exp $ 6 $Id: gfan.cc,v 1.101 2009-10-29 15:54:04 monerjan Exp $ 7 7 */ 8 8 … … 27 27 #include <string> 28 28 #include <sstream> 29 #include <time.h> 29 30 //#include <gmpxx.h> 30 31 … … 1051 1052 { 1052 1053 #ifdef gfan_DEBUG 1053 //cout << src_ExpV[kk] << "," << dst_ExpV[kk] << endl;1054 cout << src_ExpV[kk] << "," << dst_ExpV[kk] << endl; 1054 1055 #endif 1055 1056 if (src_ExpV[kk]!=dst_ExpV[kk]) … … 1063 1064 markingsAreCorrect=TRUE; //everything is fine 1064 1065 #ifdef gfan_DEBUG 1065 //cout << "correct markings" << endl;1066 cout << "correct markings" << endl; 1066 1067 #endif 1067 1068 }//if (pHead(aktpoly)==pHead(H->m[jj]) … … 1275 1276 for (int ii=0;ii<size;ii++) 1276 1277 { 1277 res->m[ii]=restOfDiv(H->m[ii],G);1278 //res->m[ii]=kNF(G, NULL,H->m[ii]);1278 // res->m[ii]=restOfDiv(H->m[ii],G); 1279 res->m[ii]=kNF(G, NULL,H->m[ii],0,0); 1279 1280 temp1=H->m[ii]; 1280 1281 temp2=res->m[ii]; … … 2658 2659 ideal gfan(ideal inputIdeal, int h) 2659 2660 { 2661 time_t tic,tac; 2662 time(&tic); 2663 2660 2664 int numvar = pVariables; 2661 2665 gfanHeuristic = h; … … 2752 2756 //res=gcAct->gcBasis; 2753 2757 //res=gcRoot->gcBasis; 2758 time(&tac); 2759 cout << "Time: " << difftime(tac,tic) << "sec" << endl; 2754 2760 return res; 2755 2761 //return GBlist;
Note: See TracChangeset
for help on using the changeset viewer.