10 #ifndef EIGEN_NO_STATIC_ASSERT
11 #define EIGEN_NO_STATIC_ASSERT // turn static asserts into runtime asserts in order to check them
16 #define EIGEN_TESTMAP_MAX_SIZE 256
24 Scalar* array1 = internal::aligned_new<Scalar>(
size);
25 Scalar* array2 = internal::aligned_new<Scalar>(
size);
41 #ifdef EIGEN_VECTORIZE
42 if(internal::packet_traits<Scalar>::Vectorizable &&
size>=
AlignedMax)
56 Scalar s1 = internal::random<Scalar>();
59 Scalar* array1 = internal::aligned_new<Scalar>(
size);
61 Scalar* array2 = internal::aligned_new<Scalar>(
size);
80 map1 = MatrixType::Random(
rows,
cols);
127 Scalar* array1 = internal::aligned_new<Scalar>(
size);
128 Scalar* array2 = internal::aligned_new<Scalar>(
size);
132 VectorType::MapAligned(array1,
size) = VectorType::Random(
size);
133 VectorType::Map(array2,
size) = VectorType::Map(array1,
size);
134 VectorType::Map(array3unaligned,
size) = VectorType::Map(array1,
size);
160 template<
typename Scalar>
165 Scalar* array1 = internal::aligned_new<Scalar>((
size+1)*(
size+1)+1);