Changeset 2667bc8 in git
- Timestamp:
- May 3, 2005, 11:35:34 AM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', '0604212ebb110535022efecad887940825b97c3f')
- Children:
- c1ff21d1e591041b2b4caf753adaa803d9f4c342
- Parents:
- d87eb099bbb670866fe02db984e08d588bedb2b4
- Location:
- factory
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
factory/cf_defs.h
rd87eb0 r2667bc8 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: cf_defs.h,v 1. 9 2003-02-11 16:28:50Singular Exp $ */2 /* $Id: cf_defs.h,v 1.10 2005-05-03 09:35:33 Singular Exp $ */ 3 3 4 4 #ifndef INCL_CF_DEFS_H … … 36 36 const int SW_USE_SPARSEMOD = 7; 37 37 const int SW_USE_NTL=8; 38 const int SW_USE_NTL_GCD=9; 39 const int SW_USE_NTL_SORT=10; 38 const int SW_USE_NTL_GCD_0=9; 39 const int SW_USE_NTL_GCD_P=10; 40 const int SW_USE_NTL_SORT=11; 40 41 //}}} 41 42 -
factory/cf_gcd.cc
rd87eb0 r2667bc8 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: cf_gcd.cc,v 1. 29 2005-02-11 13:22:44 Singular Exp $ */2 /* $Id: cf_gcd.cc,v 1.30 2005-05-03 09:35:34 Singular Exp $ */ 3 3 4 4 #include <config.h> … … 147 147 { 148 148 #ifdef HAVE_NTL 149 if (isOn(SW_USE_NTL_GCD ) && ( getCharacteristic() > 0 )149 if (isOn(SW_USE_NTL_GCD_P) && ( getCharacteristic() > 0 ) 150 150 && isPurePoly(f) && isPurePoly(g)) 151 151 { … … 194 194 { 195 195 #ifdef HAVE_NTL 196 if (isOn(SW_USE_NTL_GCD ) && isPurePoly(F) && isPurePoly(G))196 if (isOn(SW_USE_NTL_GCD_P) && isPurePoly(F) && isPurePoly(G)) 197 197 { 198 198 if ( getCharacteristic() > 0 ) … … 343 343 { 344 344 #ifdef HAVE_NTL 345 if (isOn(SW_USE_NTL_GCD) && isPurePoly(pi) && isPurePoly(pi1)) 345 if ((isOn(SW_USE_NTL_GCD_P)||isOn(SW_USE_NTL_GCD_0)) 346 && isPurePoly(pi) && isPurePoly(pi1)) 346 347 return gcd_poly_univar0(f, g, true); 347 348 #endif -
factory/cf_switches.cc
rd87eb0 r2667bc8 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: cf_switches.cc,v 1. 6 2005-02-17 13:59:27Singular Exp $ */2 /* $Id: cf_switches.cc,v 1.7 2005-05-03 09:35:34 Singular Exp $ */ 3 3 4 4 //{{{ docu … … 30 30 #ifdef HAVE_NTL 31 31 On(SW_USE_NTL); 32 //Off(SW_USE_NTL_GCD); 32 //Off(SW_USE_NTL_GCD_0); 33 //Off(SW_USE_NTL_GCD_P); 33 34 //Off(SW_USE_NTL_SORT); 34 35 #endif -
factory/cf_switches.h
rd87eb0 r2667bc8 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: cf_switches.h,v 1. 8 2005-02-17 13:59:28Singular Exp $ */2 /* $Id: cf_switches.h,v 1.9 2005-05-03 09:35:34 Singular Exp $ */ 3 3 4 4 #ifndef INCL_CF_SWITCHES_H … … 19 19 // 20 20 //}}} 21 const int CFSwitchesMax = 1 1;21 const int CFSwitchesMax = 12; 22 22 //}}} 23 23 -
factory/fac_ezgcd.cc
rd87eb0 r2667bc8 1 1 /* emacs edit mode for this file is -*- C++ -*- */ 2 /* $Id: fac_ezgcd.cc,v 1.1 8 2005-02-11 13:24:27Singular Exp $ */2 /* $Id: fac_ezgcd.cc,v 1.19 2005-05-03 09:35:34 Singular Exp $ */ 3 3 4 4 #include <config.h> … … 222 222 #if 1 223 223 Off(SW_USE_EZGCD); 224 //bool ntl=isOn(SW_USE_NTL_GCD); 225 //Off(SW_USE_NTL_GCD); 224 //bool ntl0=isOn(SW_USE_NTL_GCD_0); 225 //Off(SW_USE_NTL_GCD_0); 226 //bool ntlp=isOn(SW_USE_NTL_GCD_P); 227 //Off(SW_USE_NTL_GCD_P); 226 228 d=gcd( F, G ); 227 //if (ntl) On(SW_USE_NTL_GCD); 229 //if (ntl0) On(SW_USE_NTL_GCD_0); 230 //if (ntlp) On(SW_USE_NTL_GCD_P); 228 231 On(SW_USE_EZGCD); 229 232 return d;
Note: See TracChangeset
for help on using the changeset viewer.