10 #if defined EIGEN_TEST_PART_1 || defined EIGEN_TEST_PART_2 || defined EIGEN_TEST_PART_3 || defined EIGEN_TEST_PART_4 11 #define EIGEN_DONT_ALIGN 12 #elif defined EIGEN_TEST_PART_5 || defined EIGEN_TEST_PART_6 || defined EIGEN_TEST_PART_7 || defined EIGEN_TEST_PART_8 13 #define EIGEN_DONT_ALIGN_STATICALLY 17 #include <Eigen/Dense> 19 template<
typename MatrixType>
30 SquareMatrixType
square = SquareMatrixType::Random(rows,rows);
31 VectorType
v = VectorType::Random(rows);
34 square = square.inverse().eval();
42 Scalar*
array = internal::aligned_new<Scalar>(
rows);
43 v = VectorType::MapAligned(array, rows);
49 #if defined EIGEN_TEST_PART_1 || defined EIGEN_TEST_PART_5 52 #elif defined EIGEN_TEST_PART_2 || defined EIGEN_TEST_PART_6 55 #elif defined EIGEN_TEST_PART_3 || defined EIGEN_TEST_PART_7 58 #elif defined EIGEN_TEST_PART_4 || defined EIGEN_TEST_PART_8
EIGEN_DEVICE_FUNC void aligned_delete(T *ptr, std::size_t size)
void dontalign(const MatrixType &m)
#define VERIFY_IS_APPROX(a, b)
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
The matrix class, also used for vectors and row-vectors.
EIGEN_DEVICE_FUNC const SquareReturnType square() const