Changeset 9982049 in git
- Timestamp:
- Aug 13, 2009, 7:31:50 PM (14 years ago)
- Branches:
- (u'spielwiese', '0d6b7fcd9813a1ca1ed4220cfa2b104b97a0a003')
- Children:
- 6a4509cdda6450d69b9c13e445571024e407a07d
- Parents:
- e024c6c7d55e55f6cf66fb9de0d37e618f6e601a
- Location:
- kernel
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/ideals.cc
re024c6c r9982049 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ideals.cc,v 1.7 6 2009-07-27 08:31:18 SingularExp $ */4 /* $Id: ideals.cc,v 1.77 2009-08-13 17:31:49 motsak 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 72 //#ifndef __OPTIMIZE__ 73 // this is mainly for outputting an ideal within the debugger & DetailedPrint 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 -
kernel/kstd1.cc
re024c6c r9982049 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd1.cc,v 1.5 7 2009-07-27 08:31:44 SingularExp $ */4 /* $Id: kstd1.cc,v 1.58 2009-08-13 17:31:49 motsak Exp $ */ 5 5 /* 6 6 * ABSTRACT: … … 1764 1764 1765 1765 #if MYTEST 1766 PrintS("kSTD: currRing: "); rWrite(currRing); 1766 if (TEST_OPT_DEBUG) 1767 { 1768 PrintS("// kSTD: currRing: "); 1769 rWrite(currRing); 1770 } 1767 1771 #endif 1768 1772 -
kernel/kstd2.cc
re024c6c r9982049 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kstd2.cc,v 1. 99 2009-07-20 12:00:51motsak Exp $ */4 /* $Id: kstd2.cc,v 1.100 2009-08-13 17:31:49 motsak Exp $ */ 5 5 /* 6 6 * ABSTRACT - Kernel: alg. of Buchberger … … 1002 1002 #ifdef KDEBUG 1003 1003 #if MYTEST 1004 PrintS("bba start GB: currRing: "); 1005 rWrite(currRing);PrintLn(); rDebugPrint(currRing); 1006 PrintLn(); 1007 1008 if(strat->tailRing != NULL && strat->tailRing != currRing) 1009 { 1010 PrintS("bba start GB: tailRing: "); 1011 rWrite(strat->tailRing);PrintLn(); rDebugPrint(strat->tailRing); 1004 if (TEST_OPT_DEBUG) 1005 { 1006 PrintS("bba start GB: currRing: "); 1007 // rWrite(currRing);PrintLn(); 1008 rDebugPrint(currRing); 1009 PrintLn(); 1010 1011 if(strat->tailRing != NULL && strat->tailRing != currRing) 1012 { 1013 PrintS("// **** bba start GB: tailRing: "); 1014 rWrite(strat->tailRing);PrintLn(); rDebugPrint(strat->tailRing); 1015 } 1012 1016 } 1013 1017 #endif /* MYTEST */ -
kernel/kutil.cc
re024c6c r9982049 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: kutil.cc,v 1.1 49 2009-07-28 14:15:05 SingularExp $ */4 /* $Id: kutil.cc,v 1.150 2009-08-13 17:31:50 motsak Exp $ */ 5 5 /* 6 6 * ABSTRACT: kernel: utils for kStd … … 1586 1586 if (TEST_OPT_DEBUG) 1587 1587 { 1588 PrintS(" strat->S[i]: "); pWrite(strat->S[i]);1588 PrintS("enterOnePairNormal::\n strat->S[i]: "); pWrite(strat->S[i]); 1589 1589 PrintS("p: "); pWrite(p); 1590 1590 PrintS("SPoly: "); pWrite(Lp.p); … … 1601 1601 if (TEST_OPT_DEBUG) 1602 1602 { 1603 PrintS(" strat->S[i]: "); pWrite(strat->S[i]);1603 PrintS("enterOnePairNormal::\n strat->S[i]: "); pWrite(strat->S[i]); 1604 1604 PrintS("p: "); pWrite(p); 1605 1605 PrintS("commutative SPoly: "); pWrite(Lp.p); -
kernel/mod2.h.in
re024c6c r9982049 6 6 * DO NOT EDIT! 7 7 * 8 * Version: $Id: mod2.h.in,v 1.4 0 2009-07-28 14:15:05 SingularExp $8 * Version: $Id: mod2.h.in,v 1.41 2009-08-13 17:31:50 motsak Exp $ 9 9 *******************************************************************/ 10 10 #ifndef MOD2_H … … 109 109 #undef HAVE_SIGINTERRUPT 110 110 /* define for boost includes and lib */ 111 #undef HAVE_BOOST_DYNAMIC_BITSET_HPP111 /////////////////////// #undef HAVE_BOOST_DYNAMIC_BITSET_HPP 112 112 /* define for std:vector includes */ 113 113 #undef USE_STDVECBOOL -
kernel/p_polys.cc
re024c6c r9982049 7 7 * Author: obachman (Olaf Bachmann) 8 8 * Created: 8/00 9 * Version: $Id: p_polys.cc,v 1.1 8 2009-07-20 12:00:51motsak Exp $9 * Version: $Id: p_polys.cc,v 1.19 2009-08-13 17:31:50 motsak Exp $ 10 10 *******************************************************************/ 11 11 12 12 13 #include "mod2.h" 14 15 #ifndef NDEBUG 16 # define MYTEST 0 17 #else /* ifndef NDEBUG */ 18 # define MYTEST 0 19 #endif /* ifndef NDEBUG */ 20 13 21 #include "structs.h" 14 22 #include "structs.h" -
kernel/ring.cc
re024c6c r9982049 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: ring.cc,v 1.12 7 2009-07-28 10:01:32 SingularExp $ */4 /* $Id: ring.cc,v 1.128 2009-08-13 17:31:50 motsak Exp $ */ 5 5 6 6 /* … … 4155 4155 else 4156 4156 PrintS("0\n"); 4157 } 4158 4159 4160 4161 // F = system("ISUpdateComponents", F, V, MIN ); 4162 // // replace gen(i) -> gen(MIN + V[i-MIN]) for all i > MIN in all terms from F! 4163 void pISUpdateComponents(ideal F, const intvec *const V, const int MIN, const ring r = currRing) 4164 { 4165 assume( V != NULL ); 4166 assume( MIN >= 0 ); 4167 4168 if( F == NULL ) 4169 return; 4170 4171 for( int j = (F->ncols*F->nrows) - 1; j >= 0; j-- ) 4172 { 4173 #ifdef PDEBUG 4174 Print("F[%d]:", j); 4175 p_DebugPrint(F->m[j], r, r, 0); 4176 #endif 4177 4178 for( poly p = F->m[j]; p != NULL; pIter(p) ) 4179 { 4180 int c = p_GetComp(p, r); 4181 4182 if( c > MIN ) 4183 { 4184 #ifdef PDEBUG 4185 Print("gen[%d] -> gen(%d)\n", c, MIN + (*V)[ c - MIN - 1 ]); 4186 #endif 4187 4188 p_SetComp( p, MIN + (*V)[ c - MIN - 1 ], r ); 4189 } 4190 } 4191 #ifdef PDEBUG 4192 Print("new F[%d]:", j); 4193 p_Test(F->m[j], r); 4194 p_DebugPrint(F->m[j], r, r, 0); 4195 #endif 4196 } 4197 4157 4198 } 4158 4199
Note: See TracChangeset
for help on using the changeset viewer.