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

fastlab-svn at coffeetalk-1.cc.gatech.edu fastlab-svn at coffeetalk-1.cc.gatech.edu
Wed Nov 23 21:44:42 EST 2011


Author: rcurtin
Date: 2011-11-23 21:44:42 -0500 (Wed, 23 Nov 2011)
New Revision: 10382

Added:
   mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.hpp
Removed:
   mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.h
Log:
Change to .hpp.


Deleted: mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.h
===================================================================
--- mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.h	2011-11-24 02:43:49 UTC (rev 10381)
+++ mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.h	2011-11-24 02:44:42 UTC (rev 10382)
@@ -1,35 +0,0 @@
-/***
- * @file arma_extend.h
- *
- * Include Armadillo extensions which currently are not part of the main
- * Armadillo codebase.
- *
- * This will allow the use of the ccov() function (which performs the same
- * function as cov(trans(X)) but without the cost of computing trans(X)).
- */
-#ifndef __ARMA_EXTEND_H
-#define __ARMA_EXTEND_H
-
-#include <armadillo>
-
-// To get CSV support on versions of Armadillo prior to 2.0.0, we'll do this.  I
-// feel dirty, but I think it's the best we can do.
-#if (ARMA_VERSION_MAJOR < 2)
-  #define csv_ascii (ppm_binary + 1) // ppm_binary is the last in the old enums.
-#endif
-
-namespace arma {
-  // 64-bit support
-  #include "typedef.hpp" // This has to come first.
-  #include "traits.hpp"
-  #include "promote_type.hpp"
-
-  // ccov()
-  #include "op_ccov_proto.hpp"
-  #include "op_ccov_meat.hpp"
-  #include "glue_ccov_proto.hpp"
-  #include "glue_ccov_meat.hpp"
-  #include "fn_ccov.hpp"
-};
-
-#endif

Copied: mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.hpp (from rev 10352, mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.h)
===================================================================
--- mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.hpp	                        (rev 0)
+++ mlpack/trunk/src/mlpack/core/arma_extend/arma_extend.hpp	2011-11-24 02:44:42 UTC (rev 10382)
@@ -0,0 +1,36 @@
+/***
+ * @file arma_extend.hpp
+ * @author Ryan Curtin
+ *
+ * Include Armadillo extensions which currently are not part of the main
+ * Armadillo codebase.
+ *
+ * This will allow the use of the ccov() function (which performs the same
+ * function as cov(trans(X)) but without the cost of computing trans(X)).
+ */
+#ifndef __ARMA_EXTEND_H
+#define __ARMA_EXTEND_H
+
+#include <armadillo>
+
+// To get CSV support on versions of Armadillo prior to 2.0.0, we'll do this.  I
+// feel dirty, but I think it's the best we can do.
+#if (ARMA_VERSION_MAJOR < 2)
+  #define csv_ascii (ppm_binary + 1) // ppm_binary is the last in the old enums.
+#endif
+
+namespace arma {
+  // 64-bit support
+  #include "typedef.hpp" // This has to come first.
+  #include "traits.hpp"
+  #include "promote_type.hpp"
+
+  // ccov()
+  #include "op_ccov_proto.hpp"
+  #include "op_ccov_meat.hpp"
+  #include "glue_ccov_proto.hpp"
+  #include "glue_ccov_meat.hpp"
+  #include "fn_ccov.hpp"
+};
+
+#endif




More information about the mlpack-svn mailing list