remove USING_PART_OF_NAMESPACE_EIGEN, leaving it in Eigen2Support.

improve porting-Eigen2-to-3 docs
This commit is contained in:
Benoit Jacob
2010-04-22 18:27:13 -04:00
parent ef789fe0d2
commit abbe260905
22 changed files with 114 additions and 124 deletions

View File

@@ -6,7 +6,7 @@
using namespace std;
using namespace Eigen;
USING_PART_OF_NAMESPACE_EIGEN
using namespace Eigen;
#ifndef SIZE
#define SIZE 1024

View File

@@ -6,7 +6,7 @@
#include "BenchTimer.h"
using namespace std;
USING_PART_OF_NAMESPACE_EIGEN
using namespace Eigen;
#include <boost/preprocessor/repetition/enum_params.hpp>
#include <boost/preprocessor/repetition.hpp>

View File

@@ -1,5 +1,5 @@
#include <Eigen/Core>
USING_PART_OF_NAMESPACE_EIGEN
using namespace Eigen;
using namespace std;
int main()

View File

@@ -6,7 +6,7 @@
#endif
using namespace std;
USING_PART_OF_NAMESPACE_EIGEN
using namespace Eigen;
#ifndef REPEAT
#define REPEAT 40000000

View File

@@ -3,7 +3,7 @@
#include <Eigen/Array>
using namespace std;
USING_PART_OF_NAMESPACE_EIGEN
using namespace Eigen;
#ifndef REPEAT
#define REPEAT 10000

View File

@@ -2,7 +2,7 @@
#include <Eigen/Core>
using namespace std;
USING_PART_OF_NAMESPACE_EIGEN
using namespace Eigen;
#ifndef MATTYPE
#define MATTYPE MatrixXLd

View File

@@ -3,7 +3,7 @@
#include <Eigen/Core>
using namespace std;
USING_PART_OF_NAMESPACE_EIGEN
using namespace Eigen;
#ifndef VECTYPE
#define VECTYPE VectorXLd

View File

@@ -1,6 +1,6 @@
#include <Eigen/Array>
USING_PART_OF_NAMESPACE_EIGEN
using namespace Eigen;
#ifndef SCALAR
#define SCALAR float