- Timestamp:
- Aug 31, 2006, 10:58:05 AM (17 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/c++_tools/classifier/InputRanker.h
r608 r617 7 7 8 8 namespace theplu { 9 namespace gslapi {10 class matrix;11 class vector;12 }13 9 namespace statistics { 14 10 class Score; -
trunk/c++_tools/classifier/KernelWeighted_MEV.h
r608 r617 9 9 #include <c++_tools/classifier/KernelFunction.h> 10 10 #include <c++_tools/classifier/MatrixLookup.h> 11 //#include <c++_tools/gslapi/matrix.h>12 11 13 12 namespace theplu { -
trunk/configure.ac
r579 r617 34 34 AC_PREREQ(2.57) 35 35 AC_INIT([[c++_tools]],[0.1],[jari@thep.lu.se]) 36 AC_CONFIG_SRCDIR([c++_tools/ gslapi/matrix.h])36 AC_CONFIG_SRCDIR([c++_tools/utility/matrix.h]) 37 37 AC_CONFIG_AUX_DIR([autotools]) 38 38 AC_PREFIX_DEFAULT([/usr/local]) … … 62 62 AC_CHECK_FUNCS([pow sqrt]) 63 63 64 CXXFLAGS="-g -O -Wall -pedantic"65 CPPFLAGS="-DHAVE_INLINE=1"64 #CXXFLAGS="-g -O -Wall -pedantic" 65 #CPPFLAGS="-DHAVE_INLINE=1" 66 66 # Use these flags when compiling a production library 67 #CXXFLAGS="-O3 -Wall -pedantic"68 #CPPFLAGS="-DNDEBUG -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE=1"67 CXXFLAGS="-O3 -Wall -pedantic" 68 CPPFLAGS="-DNDEBUG -DGSL_RANGE_CHECK_OFF -DHAVE_INLINE=1" 69 69 70 70 AC_CHECK_LIB(m,main,[MATH_LIB="-lm" LIBS="-lm $LIBS"]) … … 89 89 AC_CONFIG_FILES([Makefile 90 90 c++_tools/Makefile 91 c++_tools/gslapi/Makefile92 91 c++_tools/random/Makefile 93 92 c++_tools/utility/Makefile -
trunk/doc/namespaces.doxygen
r494 r617 6 6 /// 7 7 /// @brief 8 9 ///10 /// @namespace theplu::gslapi11 /// There are a number of support operators and functions for the12 /// wrapper classes that do not belong to the classes themselves, but13 /// still are defined in this namespace.14 ///15 /// @brief GSL wrapper16 8 17 9 /// -
trunk/test/averager_test.cc
r616 r617 54 54 if (!equal(a,*a1)){ 55 55 ok=false; 56 std::cout << a.sum_x() << std::endl; 57 std::cout << a.sum_xx() << std::endl; 58 std::cout << a.n() << std::endl; 59 std::cout << a.variance() << std::endl; 60 std::cout << a.mean() << std::endl; 61 std::cout << a1->sum_x() << std::endl; 62 std::cout << a1->sum_xx() << std::endl; 63 std::cout << a1->n() << std::endl; 64 std::cout << a1->variance() << std::endl; 65 std::cout << a1->mean() << std::endl; 66 std::cout << a.mean() - a1->mean() << std::endl; 67 std::cout << a.variance() - a1->variance() << std::endl; 56 68 *error << "error: Averager(const double x,const double xx,const long n)\n"; 57 69 } … … 196 208 bool equal(const Averager& a, const Averager& b) 197 209 { 210 // std::cout << (a.n()==b.n()) << std::endl; 211 // std::cout << (a.mean()==b.mean()) << std::endl; 212 // std::cout << (a.variance()==b.variance()) << std::endl; 198 213 return (a.n()==b.n() && a.mean()==b.mean() && a.variance()==b.variance()); 199 214 }
Note: See TracChangeset
for help on using the changeset viewer.