mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
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:
@@ -25,6 +25,7 @@
|
||||
|
||||
#include "main.h"
|
||||
#include <functional>
|
||||
#include <Eigen/Array>
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -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; \
|
||||
|
||||
Reference in New Issue
Block a user