10 #define EIGEN_NO_STATIC_ASSERT 19 template<
typename _Scalar,
int _Rows,
int _Cols,
int _Options,
int _MaxRows,
int _MaxCols>
36 MatrixType m2 = MatrixType::Random(rows,cols) +
Scalar(100) * MatrixType::Identity(rows,cols);
37 OtherMatrixType m3 = OtherMatrixType::Random(rows,cols) +
Scalar(200) * OtherMatrixType::Identity(rows,cols);
41 OtherMatrixType m3_copy = m3;
44 Scalar *d1=m1.data(), *
d2=m2.data();
48 if(MatrixType::SizeAtCompileTime==
Dynamic)
64 m1.swap(m2.block(0,0,rows,cols));
71 m1.transpose().swap(m3.transpose());
#define VERIFY_RAISES_ASSERT(a)
Matrix< _Scalar, _Rows, _Cols, _Options^RowMajor, _MaxRows, _MaxCols > type
#define CALL_SUBTEST_4(FUNC)
#define CALL_SUBTEST_3(FUNC)
#define VERIFY_IS_APPROX(a, b)
#define CALL_SUBTEST_1(FUNC)
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
void swap(const MatrixType &m)
#define CALL_SUBTEST_2(FUNC)
The matrix class, also used for vectors and row-vectors.