11 #include <Eigen/SparseCore> 13 template<
int ExpectedDim,
typename Xpr>
19 template<
template <
typename,
int,
int>
class Object>
20 void map_num_dimensions()
32 STATIC_CHECK(TransposeArrayVectorType::NumDimensions == 1);
34 STATIC_CHECK(DynamicArrayVectorType::NumDimensions == 1);
35 STATIC_CHECK(DynamicTransposeArrayVectorType::NumDimensions == 1);
48 STATIC_CHECK(TransposeArrayVectorMap::NumDimensions == 1);
51 STATIC_CHECK(DynamicTransposeArrayVectorMap::NumDimensions == 1);
55 template<
typename Scalar,
int Rows,
int Cols>
58 template<
typename Scalar,
int Rows,
int Cols>
Reference counted object base class.
Matrix< RealScalar, Dynamic, Dynamic > M
EIGEN_DECLARE_TEST(num_dimensions)
A matrix or vector expression mapping an existing array of data.
#define STATIC_CHECK(COND)
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE RowXpr row(Index i)
Matrix< SCALARA, Dynamic, Dynamic, opt_A > A
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ColXpr col(Index i)
void check_dim(const Xpr &)
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type block(Index startRow, Index startCol, NRowsType blockRows, NColsType blockCols)
#define CALL_SUBTEST(FUNC)
General-purpose arrays with easy API for coefficient-wise operations.
The matrix class, also used for vectors and row-vectors.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type head(NType n)