Changeset 07b1cf in git
- Timestamp:
- Feb 1, 2007, 7:53:54 PM (16 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- add114ed9eca28cf67e9f12e3e5a60d07696ce8a
- Parents:
- 2cd0ca7c81f7d71ae3b530712b2d135a4df1802e
- Location:
- kernel
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/gr_kstd2.cc
r2cd0ca r07b1cf 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: gr_kstd2.cc,v 1.1 1 2007-01-31 23:51:23 motsakExp $ */4 /* $Id: gr_kstd2.cc,v 1.12 2007-02-01 18:53:54 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: noncomm. alg. of Buchberger … … 20 20 #include "kstd1.h" 21 21 #include "khstd.h" 22 #include "kutil.h" 22 23 //#include "spolys.h" 23 24 //#include "cntrlc.h" … … 936 937 937 938 /* complete reduction of the standard basis--------- */ 938 if (TEST_OPT_REDSB){ 939 completeReduce(strat); // ??? 940 941 // ideal I = strat->Shdl; 942 // ideal erg = kInterRed(I,Q); 943 // assume(I!=erg); 944 // id_Delete(&I, currRing); 945 // strat->Shdl = erg; 946 } 947 939 if (TEST_OPT_SB_1) 940 { 941 int k=1; 942 int j; 943 while(k<=strat->sl) 944 { 945 j=0; 946 loop 947 { 948 if (j>=k) break; 949 clearS(strat->S[j],strat->sevS[j],&k,&j,strat); 950 j++; 951 } 952 k++; 953 } 954 } 955 956 if (TEST_OPT_REDSB) 957 completeReduce(strat); 948 958 /* release temp data-------------------------------- */ 949 959 exitBuchMora(strat); -
kernel/kstd2.cc
r2cd0ca r07b1cf 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd2.cc,v 1.3 6 2007-01-31 10:11:48Singular Exp $ */4 /* $Id: kstd2.cc,v 1.37 2007-02-01 18:53:54 Singular Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: alg. of Buchberger … … 1266 1266 #endif 1267 1267 /* complete reduction of the standard basis--------- */ 1268 if (TEST_OPT_SB_1) 1269 { 1270 int k=1; 1271 int j; 1272 while(k<=strat->sl) 1273 { 1274 j=0; 1275 loop 1276 { 1277 if (j>=k) break; 1278 clearS(strat->S[j],strat->sevS[j],&k,&j,strat); 1279 j++; 1280 } 1281 k++; 1282 } 1283 } 1284 1268 1285 if (TEST_OPT_REDSB) completeReduce(strat); 1269 1286 /* release temp data-------------------------------- */
Note: See TracChangeset
for help on using the changeset viewer.