11 #define TEST_ENABLE_TEMPORARY_TRACKING 15 template <
int N,
typename XprType>
19 typename XprType::PlainObject
res(mat.rows(), mat.cols());
22 for(
int i=0;
i<
N; ++
i)
26 template <
int N,
typename ReferenceType,
typename XprType>
56 if((MatrixType::SizeAtCompileTime==
Dynamic))
70 VERIFY( verify_eval_type<10>(m1, m1) );
73 VERIFY( verify_eval_type<3>(2*m1, 2*m1) );
74 VERIFY( verify_eval_type<4>(2*m1, m1) );
78 VERIFY( verify_eval_type<2>(2*m1, 2*m1) );
79 VERIFY( verify_eval_type<3>(2*m1, m1) );
81 VERIFY( verify_eval_type<2>(m1+m1, m1+m1) );
82 VERIFY( verify_eval_type<3>(m1+m1, m1) );
83 VERIFY( verify_eval_type<1>(m1*m1.transpose(),
m2) );
84 VERIFY( verify_eval_type<1>(m1*(m1+m1).transpose(), m2) );
85 VERIFY( verify_eval_type<2>(m1*m1.transpose(),
m2) );
86 VERIFY( verify_eval_type<1>(m1+m1*m1, m1) );
#define VERIFY_RAISES_ASSERT(a)
void diagonal(const MatrixType &m)
Holds information about the various numeric (i.e. scalar) types allowed by Eigen. ...
static long int nb_temporaries
void run_nesting_ops_2(const MatrixType &_m)
cout<< "Here is the matrix m:"<< endl<< m<< endl;Matrix< ptrdiff_t, 3, 1 > res
#define VERIFY_EVALUATION_COUNT(XPR, N)
#define VERIFY_IS_APPROX(a, b)
bool verify_eval_type(const XprType &, const ReferenceType &)
void run_nesting_ops_1(const MatrixType &_m)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
#define TEST_SET_BUT_UNUSED_VARIABLE(X)
#define EIGEN_TEST_MAX_SIZE
A triangularView< Lower >().adjoint().solveInPlace(B)
void use_n_times(const XprType &xpr)
The matrix class, also used for vectors and row-vectors.