Changeset d92d71 in git
- Timestamp:
- Dec 14, 2011, 5:19:14 PM (11 years ago)
- Branches:
- (u'spielwiese', '5d369c3cbad1a1bf2d5c856a48fb8a30b51cec3b')
- Children:
- 67c1dcaf5b5069c5df300f7898cff740290bf5f1
- Parents:
- dcccebd9b733616f7e8c8d888299aa4c3073a094
- git-author:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2011-12-14 17:19:14+01:00
- git-committer:
- Oleksandr Motsak <motsak@mathematik.uni-kl.de>2012-01-06 21:09:33+01:00
- Location:
- factory
- Files:
-
- 1 added
- 16 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
factory/Makefile.am
rdccceb rd92d71 8 8 9 9 libfactory_la_CXXFLAGS = -O3 -fomit-frame-pointer --no-rtti ${CXXTEMPLFLAGS} 10 libfactory_la_LIBADD = ${ GMP_LIBS} ${NTL_LIBS}10 libfactory_la_LIBADD = ${abs_top_builddir}/libfac/libfac.la ${GMP_LIBS} ${NTL_LIBS} 11 11 libfactory_la_LDFLAGS = -release ${PACKAGE_VERSION} 12 12 libfactory_g_la_CXXFLAGS = -g -Wextra -Wall -pedantic -Wno-long-long ${CXXTEMPLFLAGS} 13 libfactory_g_la_LIBADD = ${ GMP_LIBS} ${NTL_LIBS}13 libfactory_g_la_LIBADD = ${abs_top_builddir}/libfac/libfac_g.la ${GMP_LIBS} ${NTL_LIBS} 14 14 libfactory_g_la_LDFLAGS = -release ${PACKAGE_VERSION} 15 16 15 17 16 18 # factory source files … … 299 301 examples/factorize.cc examples/gcd.cc \ 300 302 bin/folding.el bin/fold-docu.el \ 301 bin/makeheader bin/gen-readcf readcf.yy 303 bin/makeheader bin/gen-readcf readcf.yy libfac 302 304 303 305 ################################################## … … 332 334 check_PROGRAMS = $(TESTS) 333 335 334 TESTSSOURCES = test.cc 336 TESTSSOURCES = test.cc 335 337 336 338 test_s_g_SOURCES = $(TESTSSOURCES) … … 358 360 #ftmpl_inst.o 359 361 test_d_r_LDADD = -L${builddir} -lfactory $(GMP_LIBS) $(NTL_LIBS) 362 363 364 PACKAGES=libfac 365 SUBDIRS=$(PACKAGES) -
factory/configure.ac
rdccceb rd92d71 442 442 AC_DEFINE_UNQUOTED([FACTORYVERSION], "$factory_version") 443 443 444 AH_TEMPLATE([HAVE_LIBFAC], [have libfac]) 445 AC_DEFINE_UNQUOTED([HAVE_LIBFAC], 1) 446 444 447 AH_TEMPLATE([FACTORYCONFIGURATION], [factory configuration]) 445 448 AC_DEFINE_UNQUOTED([FACTORYCONFIGURATION], "$factory_configuration") … … 452 455 [test x$with_Singular != xyes && test x$enable_streamio != xno]) 453 456 454 AC_CONFIG_FILES([Makefile ftest/GNUmakefile])457 AC_CONFIG_FILES([Makefile libfac/Makefile]) # ftest/GNUmakefile 455 458 AC_OUTPUT 456 459 -
factory/libfac/charset/alg_factor.cc
rdccceb rd92d71 27 27 #endif 28 28 29 #include "debug.h"29 #include <libfac/factor/debug.h> 30 30 #include "timing.h" 31 31 TIMING_DEFINE_PRINT(newfactoras_time); -
factory/libfac/charset/algfactor.cc
rdccceb rd92d71 24 24 #endif 25 25 26 #include "debug.h"26 #include <libfac/factor/debug.h> 27 27 #include "timing.h" 28 28 TIMING_DEFINE_PRINT(newfactoras_time); … … 73 73 # undef DEBUGOUTPUT 74 74 #endif 75 #include "debug.h"75 #include <libfac/factor/debug.h> 76 76 static CFList 77 77 charsetnA(const CFList & AS, const CFList &PS, PremForm & Remembern, const Variable & vf ){ … … 123 123 # undef DEBUGOUTPUT 124 124 #endif 125 #include "debug.h"125 #include <libfac/factor/debug.h> 126 126 // compute the GCD of f and g over the algebraic field having 127 127 // adjoing ascending set as -
factory/libfac/charset/charset.cc
rdccceb rd92d71 27 27 #endif 28 28 29 #include "debug.h"29 #include <libfac/factor/debug.h> 30 30 #include "timing.h" 31 31 TIMING_DEFINE_PRINT(subfactorize_time); … … 40 40 # undef DEBUGOUTPUT 41 41 #endif 42 #include "debug.h"42 #include <libfac/factor/debug.h> 43 43 44 44 // the next computes a characteristic set (a basic set in Wang's sense) … … 96 96 # undef DEBUGOUTPUT 97 97 #endif 98 #include "debug.h"98 #include <libfac/factor/debug.h> 99 99 100 100 // The modified CharSet (an extended characteristic set with certain factors … … 328 328 # undef DEBUGOUTPUT 329 329 #endif 330 #include "debug.h"330 #include <libfac/factor/debug.h> 331 331 332 332 ListCFList … … 474 474 #endif 475 475 476 #include "debug.h"476 #include <libfac/factor/debug.h> 477 477 478 478 static CFList -
factory/libfac/charset/csutil.cc
rdccceb rd92d71 621 621 # undef DEBUGOUTPUT 622 622 #endif 623 #include "debug.h"623 #include <libfac/factor/debug.h> 624 624 // examine the irreducibility of as for IrrCharSeries 625 625 int -
factory/libfac/charset/reorder.cc
rdccceb rd92d71 29 29 #endif 30 30 31 #include "debug.h"31 #include <libfac/factor/debug.h> 32 32 #include "timing.h" 33 33 TIMING_DEFINE_PRINT(neworder_time); -
factory/libfac/factor.h
rdccceb rd92d71 11 11 extern int libfac_interruptflag; 12 12 13 /* 13 14 // some values you can ask for: 14 15 extern const char * libfac_name; … … 16 17 extern const char * libfac_date; 17 18 extern const char * libfac_author; 19 */ 18 20 21 /* 19 22 CFFList Factorize( const CanonicalForm & F, const CanonicalForm & mipo, int is_SqrFree=0 ) ; 20 23 CFFList newfactoras( const CanonicalForm & f, const CFList & as, int &success); 21 24 CFFList newcfactor( const CanonicalForm & f, const CFList & as, int &success); 25 */ 26 22 27 23 28 //// Note: InternalSqrFree does only the work needed for factorization. … … 26 31 typedef List<CFList> ListCFList; 27 32 typedef List<int> IntList ; 28 typedef ListIterator<int> IntListIterator ; 29 typedef List<Variable> Varlist; 30 typedef ListIterator<Variable> VarlistIterator; 33 34 // typedef ListIterator<int> IntListIterator ; 35 // typedef List<Variable> Varlist; 36 // typedef ListIterator<Variable> VarlistIterator; 31 37 32 38 //////////////////////////////////////// 33 39 /// from charsets: 34 40 /* 35 41 class PremForm { 36 42 public: … … 46 52 }; 47 53 54 48 55 CanonicalForm Prem( const CanonicalForm &f, const CanonicalForm &g ); 49 56 CanonicalForm Prem( const CanonicalForm &f, const CFList &L ); 50 57 CFList Prem( const CFList &AS, const CFList &L ); 51 58 CFList MCharSetN( const CFList &PS, PremForm & Remembern ); 59 */ 60 61 62 /// Char. set 52 63 ListCFList IrrCharSeries( const CFList &PS, int opt=0 ); 53 64 65 /* 54 66 // the next three give you a heuristically optimal reorderd list of the 55 67 // variables. For internal and external (e.g. Singular/Macaulay2) library use. … … 63 75 // (i.e. the variables as CanonicalForms) 64 76 CFList newordercf(const CFList & PolyList ); 65 // the same as neworder(...) only returning a list of int 's (i.e. the levels) 77 */ 78 79 /// the same as neworder(...) only returning a list of int 's (i.e. the levels) 66 80 IntList neworderint(const CFList & PolyList ); 67 81 82 /* 68 83 // for library internal use only: 69 84 // next function reorders the variables in PS: … … 81 96 CFFList reorder( const Varlist & betterorder, const CFFList & PS); 82 97 ListCFList reorder(const Varlist & betterorder, const ListCFList & Q); 83 98 */ 84 99 85 100 #endif /* FACTOR_H */ -
factory/libfac/factor/Factor.cc
rdccceb rd92d71 38 38 #endif 39 39 40 #include "debug.h"40 #include <libfac/factor/debug.h> 41 41 #include "timing.h" 42 42 TIMING_DEFINE_PRINT(factorize_time); -
factory/libfac/factor/MVMultiHensel.cc
rdccceb rd92d71 38 38 #endif 39 39 40 #include "debug.h"40 #include <libfac/factor/debug.h> 41 41 #include "interrupt.h" 42 42 #include "timing.h" -
factory/libfac/factor/SqrFree.cc
rdccceb rd92d71 5 5 /////////////////////////////////////////////////////////////////////////////// 6 6 // FACTORY - Includes 7 #include<factory.h> 7 8 #include<factory/factory.h> 9 8 10 #ifndef NOSTREAMIO 9 11 #ifdef HAVE_IOSTREAM … … 33 35 #endif 34 36 35 #include "debug.h"37 #include <libfac/factor/debug.h> 36 38 #include "timing.h" 37 39 TIMING_DEFINE_PRINT(squarefree_time); -
factory/libfac/factor/Truefactor.cc
rdccceb rd92d71 32 32 #endif 33 33 34 #include "debug.h"34 #include <libfac/factor/debug.h> 35 35 #include "timing.h" 36 36 -
factory/libfac/factor/homogfactor.cc
rdccceb rd92d71 32 32 #endif 33 33 34 #include "debug.h"34 #include <libfac/factor/debug.h> 35 35 #include "timing.h" 36 36 TIMING_DEFINE_PRINT(hfactorize_time); -
factory/libfac/factor/tmpl_inst.cc
rdccceb rd92d71 4 4 //////////////////////////////////////////////////////////// 5 5 6 // #include <factory/templates/ftmpl_array.cc> 6 7 7 #include <templates/ftmpl_array.cc> 8 #include <templates/ftmpl_factor.cc> 9 #include <templates/ftmpl_list.cc> 10 #include <templates/ftmpl_functions.h> 11 #include <templates/ftmpl_matrix.cc> 8 #include <factory/factory.h> 12 9 13 #include <factory.h> 10 11 12 #include <factory/templates/ftmpl_array.cc> 13 #include <factory/templates/ftmpl_factor.cc> 14 #include <factory/templates/ftmpl_list.cc> 15 #include <factory/templates/ftmpl_functions.h> 16 #include <factory/templates/ftmpl_matrix.cc> 14 17 15 18 template class Factor<CanonicalForm>; … … 47 50 48 51 // place here your own template stuff, not instantiated by factory 49 #include "tmpl_inst.h"50 #include "class.cc"52 #include <libfac/factor/tmpl_inst.h> 53 #include <libfac/factor/class.cc> 51 54 52 55 template class List<int>; -
factory/libfac/factor/tmpl_inst.h
rdccceb rd92d71 5 5 #ifndef TMPL_INST_H 6 6 #define TMPL_INST_H 7 #include "class.h" 7 8 #include <libfac/factor/class.h> 8 9 //typedef CanonicalForm CF; 9 10 //typedef List<CanonicalForm> CFList; -
factory/libfac/factor/version.cc
rdccceb rd92d71 3 3 // $Id$ 4 4 /////////////////////////////////////////////////////////////////////////////// 5 6 /* 5 7 #include "version.h" 6 8 … … 9 11 const char * libfac_date = LIBFAC_DATE; 10 12 const char * libfac_author = "M. Messollen"; 13 */ 11 14 12 int libfac_interruptflag =0;15 int libfac_interruptflag = 0;
Note: See TracChangeset
for help on using the changeset viewer.