Changeset eb5fbbd in git
- Timestamp:
- Mar 26, 2014, 2:28:44 PM (10 years ago)
- Branches:
- (u'spielwiese', '8e0ad00ce244dfd0756200662572aef8402f13d5')
- Children:
- 5abee96cf263f09fb039dd84185a4278a932a140
- Parents:
- 3e8ab04f8239d409d00409de06e32817e5f1ad8e9b49b20932a8015c931590e946c652079a8f168f
- Files:
-
- 5 added
- 16 edited
- 13 moved
Legend:
- Unmodified
- Added
- Removed
-
Singular/claptmpl.cc
r3e8ab0 reb5fbbd 42 42 #endif 43 43 44 #include <kernel/ GMPrat.h>45 #include <kernel/ kmatrix.h>44 #include <kernel/spectrum/GMPrat.h> 45 #include <kernel/spectrum/kmatrix.h> 46 46 47 47 template class KMatrix<Rational>; -
Singular/extra.cc
r3e8ab0 reb5fbbd 121 121 122 122 #ifdef HAVE_SPECTRUM 123 #include <kernel/spectrum .h>123 #include <kernel/spectrum/spectrum.h> 124 124 #endif 125 125 -
Singular/iparith.cc
r3e8ab0 reb5fbbd 47 47 #include <kernel/preimage.h> 48 48 #include <kernel/units.h> 49 #include <kernel/ GMPrat.h>49 #include <kernel/spectrum/GMPrat.h> 50 50 #include <kernel/tgb.h> 51 51 #include <kernel/groebner_walk/walkProc.h> -
Singular/ipshell.cc
r3e8ab0 reb5fbbd 42 42 #include <kernel/stairc.h> 43 43 #include <polys/weight.h> 44 #include <kernel/s emic.h>45 #include <kernel/sp list.h>46 #include <kernel/spectrum .h>44 #include <kernel/spectrum/semic.h> 45 #include <kernel/spectrum/splist.h> 46 #include <kernel/spectrum/spectrum.h> 47 47 ////// #include <coeffs/gnumpfl.h> 48 48 //#include <kernel/mpr_base.h> -
Singular/singular-libs
r9b49b20 reb5fbbd 46 46 findifs.lib finitediff.lib \ 47 47 gitfan.lib \ 48 locnormal.lib modnormal.lib \48 locnormal.lib modnormal.lib modular.lib \ 49 49 JMBTest.lib JMSConst.lib multigrading.lib\ 50 50 numerAlg.lib numerDecom.lib \ -
Singular/test.cc
r3e8ab0 reb5fbbd 80 80 #include <kernel/fglm/fglmvec.h> 81 81 #include <kernel/kstdfac.h> 82 #include <kernel/ kmatrix.h>83 #include <kernel/ GMPrat.h>84 #include <kernel/ multicnt.h>85 #include <kernel/ npolygon.h>86 #include <kernel/s emic.h>87 #include <kernel/spectrum .h>88 #include <kernel/sp list.h>89 #include <kernel/ multicnt.h>82 #include <kernel/spectrum/kmatrix.h> 83 #include <kernel/spectrum/GMPrat.h> 84 #include <kernel/spectrum/multicnt.h> 85 #include <kernel/spectrum/npolygon.h> 86 #include <kernel/spectrum/semic.h> 87 #include <kernel/spectrum/spectrum.h> 88 #include <kernel/spectrum/splist.h> 89 #include <kernel/spectrum/multicnt.h> 90 90 #include <kernel/eigenval.h> 91 91 #include <kernel/units.h> … … 116 116 117 117 118 #include <kernel/ GMPrat.h>118 #include <kernel/spectrum/GMPrat.h> 119 119 120 120 // #include "htmlhelp.h" // For Windows // … … 125 125 #include <kernel/ideals.h> 126 126 127 #include <kernel/ kmatrix.h>127 #include <kernel/spectrum/kmatrix.h> 128 128 #include <kernel/kstd1.h> 129 129 #include <kernel/kstdfac.h> … … 135 135 136 136 // #include "lplist.h" // Too old! 137 #include <kernel/ multicnt.h>138 #include <kernel/ npolygon.h>137 #include <kernel/spectrum/multicnt.h> 138 #include <kernel/spectrum/npolygon.h> 139 139 // #include <kernel/Number.h> // Too old? 140 140 // #include <kernel/Poly.h> // Too old? … … 147 147 #include <kernel/ratgring.h> 148 148 #include <kernel/ringgb.h> 149 #include <kernel/s emic.h>149 #include <kernel/spectrum/semic.h> 150 150 #include <kernel/shiftgb.h> 151 151 152 #include <kernel/spectrum .h>153 #include <kernel/sp list.h>152 #include <kernel/spectrum/spectrum.h> 153 #include <kernel/spectrum/splist.h> 154 154 #include <kernel/stairc.h> 155 155 #include <kernel/structs.h> -
Singular/walk_ip.cc
r3e8ab0 reb5fbbd 37 37 #include <kernel/stairc.h> 38 38 #include <polys/weight.h> 39 #include <kernel/s emic.h>40 #include <kernel/sp list.h>41 #include <kernel/spectrum .h>39 #include <kernel/spectrum/semic.h> 40 #include <kernel/spectrum/splist.h> 41 #include <kernel/spectrum/spectrum.h> 42 42 //#include <kernel/gnumpfl.h> 43 43 //#include <kernel/mpr_base.h> -
configure.ac
r3e8ab0 reb5fbbd 205 205 AC_CONFIG_FILES([kernel/groebner_walk/Makefile]) 206 206 AC_CONFIG_FILES([kernel/combinatorics/Makefile]) 207 AC_CONFIG_FILES([kernel/spectrum/Makefile]) 207 208 208 209 AC_CONFIG_SUBDIRS([gfanlib]) -
dyn_modules/callgfanlib/gfan.cc
r3e8ab0 reb5fbbd 12 12 #include <kernel/polys.h> 13 13 #include <kernel/ideals.h> 14 #include <kernel/ kmatrix.h>15 #include <kernel/ GMPrat.h>14 #include <kernel/spectrum/kmatrix.h> 15 #include <kernel/spectrum/GMPrat.h> 16 16 #include <libpolys/misc/intvec.h> 17 17 -
kernel/Makefile.am
r3e8ab0 reb5fbbd 2 2 # TODO: use ${top_srcdir} instead of .. in the above? 3 3 4 SUBDIRS=sample numeric fglm groebner_walk combinatorics 4 SUBDIRS=sample numeric fglm groebner_walk combinatorics spectrum 5 5 # kernelsample 6 6 … … 22 22 syz.cc syz0.cc syz1.cc syz2.cc syz3.cc \ 23 23 timer.cc \ 24 GMPrat.cc multicnt.cc npolygon.cc semic.cc spectrum.cc splist.cc \25 24 eigenval.cc units.cc \ 26 25 fast_mult.cc digitech.cc \ … … 40 39 fast_maps.h \ 41 40 febase.h \ 42 kstdfac.h kmatrix.h\41 kstdfac.h \ 43 42 kutil.h \ 44 43 khstd.h kstd1.h \ 45 GMPrat.h multicnt.h npolygon.h semic.h spectrum.h splist.h \46 44 eigenval.h units.h \ 47 45 ratgring.h shiftgb.h nc.h \ … … 62 60 ${builddir}/groebner_walk/libgroebner_walk.la \ 63 61 ${builddir}/combinatorics/libcombinatorics.la \ 62 ${builddir}/spectrum/libspectrum.la \ 64 63 ${USEPPROCSDYNAMICLDFLAGS} ${USEPPROCSDYNAMICLD} \ 65 64 ${abs_top_builddir}/libpolys/polys/libpolys.la -
kernel/numeric/mpr_numeric.cc
r9b49b20 reb5fbbd 580 580 581 581 gmp_float epss(0.1); 582 mpf_pow_ui(*epss._mpfp(),*epss.mpfp(),g etGMPFloatDigits());582 mpf_pow_ui(*epss._mpfp(),*epss.mpfp(),gmp_output_digits); 583 583 584 584 for ( iter= 1; iter <= MAXIT; iter++ ) -
kernel/spectrum/GMPrat.cc
r3e8ab0 reb5fbbd 28 28 #include <string.h> 29 29 30 #include <kernel/ GMPrat.h>30 #include <kernel/spectrum/GMPrat.h> 31 31 32 32 // ---------------------------------------------------------------------------- -
kernel/spectrum/multicnt.cc
r3e8ab0 reb5fbbd 24 24 #endif 25 25 26 #include <kernel/ multicnt.h>26 #include <kernel/spectrum/multicnt.h> 27 27 28 28 // ---------------------------------------------------------------------------- -
kernel/spectrum/npolygon.cc
r3e8ab0 reb5fbbd 26 26 #include <polys/monomials/ring.h> 27 27 28 #include <kernel/ GMPrat.h>29 #include <kernel/ kmatrix.h>30 #include <kernel/ npolygon.h>28 #include <kernel/spectrum/GMPrat.h> 29 #include <kernel/spectrum/kmatrix.h> 30 #include <kernel/spectrum/npolygon.h> 31 31 #include <kernel/structs.h> 32 32 -
kernel/spectrum/npolygon.h
r3e8ab0 reb5fbbd 9 9 #define NPOLYGON_H 10 10 11 #include <kernel/ GMPrat.h>11 #include <kernel/spectrum/GMPrat.h> 12 12 13 13 // ---------------------------------------------------------------------------- -
kernel/spectrum/semic.cc
r3e8ab0 reb5fbbd 11 11 #include "singularconfig.h" 12 12 #endif /* HAVE_CONFIG_H */ 13 #include "mod2.h"13 #include <kernel/mod2.h> 14 14 15 15 #ifdef HAVE_SPECTRUM … … 31 31 #include <misc/intvec.h> 32 32 #include <misc/mylimits.h> 33 #include "GMPrat.h"34 #include "semic.h"33 #include <kernel/spectrum/GMPrat.h> 34 #include <kernel/spectrum/semic.h> 35 35 36 36 // ---------------------------------------------------------------------------- -
kernel/spectrum/semic.h
r3e8ab0 reb5fbbd 16 16 17 17 18 #include <kernel/ GMPrat.h>18 #include <kernel/spectrum/GMPrat.h> 19 19 20 20 typedef enum -
kernel/spectrum/spectrum.cc
r3e8ab0 reb5fbbd 33 33 #include <kernel/kstd1.h> 34 34 #include <kernel/stairc.h> 35 #include <kernel/ multicnt.h>36 #include <kernel/ GMPrat.h>37 #include <kernel/ kmatrix.h>38 #include <kernel/ npolygon.h>39 #include <kernel/sp list.h>40 #include <kernel/s emic.h>35 #include <kernel/spectrum/multicnt.h> 36 #include <kernel/spectrum/GMPrat.h> 37 #include <kernel/spectrum/kmatrix.h> 38 #include <kernel/spectrum/npolygon.h> 39 #include <kernel/spectrum/splist.h> 40 #include <kernel/spectrum/semic.h> 41 41 42 42 // ---------------------------------------------------------------------------- -
kernel/spectrum/spectrum.h
r3e8ab0 reb5fbbd 8 8 #ifndef SPECTRUM_H 9 9 #define SPECTRUM_H 10 #include <kernel/ npolygon.h>11 #include <kernel/sp list.h>10 #include <kernel/spectrum/npolygon.h> 11 #include <kernel/spectrum/splist.h> 12 12 13 13 /*BOOLEAN spectrumProc ( leftv,leftv ); -
kernel/spectrum/splist.cc
r3e8ab0 reb5fbbd 23 23 24 24 #include <kernel/structs.h> 25 #include <kernel/ GMPrat.h>25 #include <kernel/spectrum/GMPrat.h> 26 26 #include <coeffs/numbers.h> 27 27 #include <polys/monomials/p_polys.h> 28 #include <kernel/ npolygon.h>29 #include <kernel/sp list.h>28 #include <kernel/spectrum/npolygon.h> 29 #include <kernel/spectrum/splist.h> 30 30 #include <misc/intvec.h> 31 31 -
kernel/spectrum/splist.h
r3e8ab0 reb5fbbd 16 16 #define SPLIST_H 17 17 18 #include <kernel/ npolygon.h>18 #include <kernel/spectrum/npolygon.h> 19 19 20 20 /*enum spectrumState -
kernel/test.cc
r3e8ab0 reb5fbbd 85 85 #include <kernel/fglm/fglmvec.h> 86 86 #include <kernel/kstdfac.h> 87 #include <kernel/ kmatrix.h>88 #include <kernel/ GMPrat.h>89 #include <kernel/ multicnt.h>90 #include <kernel/ npolygon.h>91 #include <kernel/s emic.h>92 #include <kernel/spectrum .h>93 #include <kernel/sp list.h>94 #include <kernel/ multicnt.h>87 #include <kernel/spectrum/kmatrix.h> 88 #include <kernel/spectrum/GMPrat.h> 89 #include <kernel/spectrum/multicnt.h> 90 #include <kernel/spectrum/npolygon.h> 91 #include <kernel/spectrum/semic.h> 92 #include <kernel/spectrum/spectrum.h> 93 #include <kernel/spectrum/splist.h> 94 #include <kernel/spectrum/multicnt.h> 95 95 #include <kernel/eigenval.h> 96 96 #include <kernel/units.h> … … 125 125 #include <kernel/ideals.h> 126 126 127 #include <kernel/ kmatrix.h>127 #include <kernel/spectrum/kmatrix.h> 128 128 #include <kernel/kstd1.h> 129 129 #include <kernel/kstdfac.h> … … 135 135 136 136 // #include <kernel/lplist.h> // Too old! 137 #include <kernel/ multicnt.h>138 #include <kernel/ npolygon.h>137 #include <kernel/spectrum/multicnt.h> 138 #include <kernel/spectrum/npolygon.h> 139 139 // #include "Number.h" // Too old? 140 140 // #include "Poly.h" // Too old? … … 147 147 #include <kernel/ratgring.h> 148 148 #include <kernel/ringgb.h> 149 #include <kernel/s emic.h>149 #include <kernel/spectrum/semic.h> 150 150 #include <kernel/shiftgb.h> 151 #include <kernel/spectrum .h>152 #include <kernel/sp list.h>151 #include <kernel/spectrum/spectrum.h> 152 #include <kernel/spectrum/splist.h> 153 153 #include <kernel/stairc.h> 154 154 #include <kernel/structs.h> -
libpolys/coeffs/gnumpc.cc
r9b49b20 reb5fbbd 415 415 assume( getCoeffType(r) == ID ); 416 416 417 extern size_t gmp_output_digits; /// comes from mpr_complex.cc418 419 417 if (a==NULL) 420 418 StringAppendS("0"); … … 422 420 { 423 421 char *out; 424 out= complexToStr(*(gmp_complex*)a, gmp_output_digits, r);422 out= complexToStr(*(gmp_complex*)a, r->float_len, r); 425 423 StringAppendS(out); 426 424 // omFreeSize((void *)out, (strlen(out)+1)* sizeof(char) ); -
libpolys/coeffs/gnumpfl.cc
r9b49b20 reb5fbbd 22 22 #include <coeffs/mpr_complex.h> 23 23 24 extern size_t gmp_output_digits;25 24 //ring ngfMapRing; // to be used also in gnumpc.cc 26 25 … … 372 371 assume( getCoeffType(r) == ID ); 373 372 374 extern size_t gmp_output_digits;375 373 char *out; 376 374 if ( a != NULL ) 377 375 { 378 out= floatToStr(*(gmp_float*)a, gmp_output_digits);376 out= floatToStr(*(gmp_float*)a, r->float_len); 379 377 StringAppendS(out); 380 378 //omFreeSize((void *)out, (strlen(out)+1)* sizeof(char) ); -
libpolys/coeffs/mpr_complex.cc
r9b49b20 reb5fbbd 70 70 mpf_set_d(*gmpRel->_mpfp(),0.1); 71 71 mpf_pow_ui(*gmpRel->_mpfp(),*gmpRel->_mpfp(),digits); 72 }73 74 size_t getGMPFloatDigits()75 {76 return gmp_output_digits;77 72 } 78 73 -
libpolys/coeffs/mpr_complex.h
r9b49b20 reb5fbbd 22 22 23 23 void setGMPFloatDigits( size_t digits, size_t rest ); 24 size_t getGMPFloatDigits();25 24 26 25 //-> class gmp_float
Note: See TracChangeset
for help on using the changeset viewer.