10% reduction in lines of code included by Vector.h.

release/4.3a0
alexhagiopol 2015-02-20 14:33:15 -05:00
parent f2fabc18c8
commit 0a5f220534
3 changed files with 16 additions and 7 deletions

View File

@ -27,6 +27,12 @@
#include <boost/tuple/tuple.hpp> #include <boost/tuple/tuple.hpp>
#include <boost/math/special_functions/fpclassify.hpp> #include <boost/math/special_functions/fpclassify.hpp>
#include <gtsam/3rdparty/Eigen/Eigen/Core>
#include <gtsam/3rdparty/Eigen/Eigen/Cholesky>
#include <gtsam/3rdparty/Eigen/Eigen/SVD>
#include <gtsam/3rdparty/Eigen/Eigen/LU>
/** /**
* Matrix is a typedef in the gtsam namespace * Matrix is a typedef in the gtsam namespace
* TODO: make a version to work with matlab wrapping * TODO: make a version to work with matlab wrapping

View File

@ -16,9 +16,10 @@
* @author Frank Dellaert * @author Frank Dellaert
*/ */
#include <cstdarg> #include <cstdarg>
#include <limits> #include <limits>
#include <iostream> //#include <iostream>
#include <fstream> #include <fstream>
#include <sstream> #include <sstream>
#include <iomanip> #include <iomanip>
@ -27,7 +28,7 @@
#include <boost/foreach.hpp> #include <boost/foreach.hpp>
#include <boost/optional.hpp> #include <boost/optional.hpp>
#include <cstdio> #include <cstdio>
#include <vector> //added by alex
#include <gtsam/base/Vector.h> #include <gtsam/base/Vector.h>

View File

@ -18,14 +18,16 @@
// \callgraph // \callgraph
#pragma once #pragma once
#include <list> #include <list>
#include <vector> //#include <vector>
#include <iostream> //#include <iostream>
#include <gtsam/global_includes.h> #include <gtsam/global_includes.h>
#include <gtsam/3rdparty/gtsam_eigen_includes.h> //#include <gtsam/3rdparty/gtsam_eigen_includes.h>
//#include <gtsam/3rdparty/Eigen/Eigen/src/Core/Matrix.h>
//#include <gtsam/3rdparty/Eigen/Eigen/src/Core/MatrixBase.h>
#include <gtsam/3rdparty/Eigen/Eigen/Core>
namespace gtsam { namespace gtsam {
// Vector is just a typedef of the Eigen dynamic vector type // Vector is just a typedef of the Eigen dynamic vector type