[mlpack-svn] r13846 - mlpack/trunk/src/mlpack/core/arma_extend

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Mon Nov 5 22:23:08 EST 2012


Author: rcurtin
Date: 2012-11-05 22:23:08 -0500 (Mon, 05 Nov 2012)
New Revision: 13846

Removed:
   mlpack/trunk/src/mlpack/core/arma_extend/sparse/
Modified:
   mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.hpp
Log:
Remove sparse support from trunk.


Modified: mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.hpp
===================================================================
--- mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.hpp	2012-11-05 21:54:09 UTC (rev 13845)
+++ mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.hpp	2012-11-06 03:23:08 UTC (rev 13846)
@@ -12,20 +12,6 @@
 #ifndef __MLPACK_CORE_ARMA_EXTEND_ARMA_EXTEND_HPP
 #define __MLPACK_CORE_ARMA_EXTEND_ARMA_EXTEND_HPP
 
-// Figure out if we have sparse matrix support yet.
-#include <armadillo_bits/config.hpp>
-
-#ifndef ARMA_HAS_SPMAT
-  // Include forward declarations of SpMat, SpRow, and SpCol.
-  namespace arma {
-    #include "sparse/forward_bones.hpp"
-  };
-
-  // Now set the extra things to be included for regular Mat, Row, and Col.
-  #define ARMA_EXTRA_MAT_PROTO mlpack/core/arma_extend/sparse/Mat_extra_bones.hpp
-  #define ARMA_EXTRA_MAT_MEAT  mlpack/core/arma_extend/sparse/Mat_extra_meat.hpp
-#endif
-
 #include <armadillo>
 
 // To get CSV support on versions of Armadillo prior to 2.0.0, we'll do this.  I
@@ -34,47 +20,7 @@
   #define csv_ascii (ppm_binary + 1) // ppm_binary is the last in the old enums.
 #endif
 
-// Include all the things we might need for sparse matrix support.
-#ifndef ARMA_HAS_SPMAT
-
 namespace arma {
-  #include "sparse/traits.hpp"
-
-  #include "sparse/Proxy.hpp"
-
-  #include "sparse/SpValProxy_bones.hpp"
-  #include "sparse/SpMat_bones.hpp"
-  #include "sparse/SpCol_bones.hpp"
-  #include "sparse/SpRow_bones.hpp"
-  #include "sparse/SpSubview_bones.hpp"
-
-  #include "sparse/arma_ostream_bones.hpp"
-
-  #include "sparse/restrictors.hpp"
-
-  #include "sparse/fn_accu.hpp"
-  #include "sparse/fn_eye.hpp"
-  #include "sparse/fn_ones.hpp"
-//  #include "sparse/fn_qr.hpp"
-  #include "sparse/fn_randn.hpp"
-  #include "sparse/fn_randu.hpp"
-  #include "sparse/fn_zeros.hpp"
-  #include "sparse/fn_min.hpp"
-  #include "sparse/fn_max.hpp"
-
-  #include "sparse/SpValProxy_meat.hpp"
-  #include "sparse/SpMat_meat.hpp"
-  #include "sparse/SpCol_meat.hpp"
-  #include "sparse/SpRow_meat.hpp"
-  #include "sparse/SpSubview_meat.hpp"
-
-  #include "sparse/arma_ostream_meat.hpp"
-//  #include "sparse/op_dot_meat.hpp"
-};
-
-#endif
-
-namespace arma {
   // u64
   #include "typedef.hpp"
   #include "traits.hpp"
@@ -86,9 +32,6 @@
   #include "glue_ccov_proto.hpp"
   #include "glue_ccov_meat.hpp"
   #include "fn_ccov.hpp"
-
-  // inplace_reshape()
-  #include "fn_inplace_reshape.hpp"
 };
 
 #endif




More information about the mlpack-svn mailing list