moved purely "array" related stuff to a new module Array.

This include:
 - cwise Pow,Sin,Cos,Exp...
 - cwise Greater and other comparison operators
 - .any(), .all() and partial reduction
 - random
This commit is contained in:
Gael Guennebaud
2008-05-31 18:11:48 +00:00
parent a2f71f9d7e
commit 310f7aa096
18 changed files with 803 additions and 632 deletions

View File

@@ -25,6 +25,7 @@
#include "main.h"
#include <functional>
#include <Eigen/Array>
using namespace std;

View File

@@ -137,6 +137,10 @@ namespace Eigen
#define EIGEN_INTERNAL_DEBUGGING
#include <Eigen/Core>
namespace Eigen {
#include <Eigen/src/Array/Random.h>
}
#define VERIFY(a) do { if (!(a)) { \
std::cerr << "Test " << g_test_stack.back() << " failed in "EI_PP_MAKE_STRING(__FILE__) << " (" << EI_PP_MAKE_STRING(__LINE__) << ")" \
<< std::endl << " " << EI_PP_MAKE_STRING(a) << std::endl << std::endl; \