Lines Matching refs:MatrixType

21   * \param MatrixType the type of the object in which we are taking a sub/main/super diagonal
36 template<typename MatrixType, int DiagIndex>
37 struct traits<Diagonal<MatrixType,DiagIndex> >
38 : traits<MatrixType>
40 typedef typename ref_selector<MatrixType>::type MatrixTypeNested;
42 typedef typename MatrixType::StorageKind StorageKind;
44 RowsAtCompileTime = (int(DiagIndex) == DynamicIndex || int(MatrixType::SizeAtCompileTime) == Dynamic) ? Dynamic
45 : (EIGEN_PLAIN_ENUM_MIN(MatrixType::RowsAtCompileTime - EIGEN_PLAIN_ENUM_MAX(-DiagIndex, 0),
46 MatrixType::ColsAtCompileTime - EIGEN_PLAIN_ENUM_MAX( DiagIndex, 0))),
48 MaxRowsAtCompileTime = int(MatrixType::MaxSizeAtCompileTime) == Dynamic ? Dynamic
49 : DiagIndex == DynamicIndex ? EIGEN_SIZE_MIN_PREFER_FIXED(MatrixType::MaxRowsAtCompileTime,
50 MatrixType::MaxColsAtCompileTime)
51 : (EIGEN_PLAIN_ENUM_MIN(MatrixType::MaxRowsAtCompileTime - EIGEN_PLAIN_ENUM_MAX(-DiagIndex, 0),
52 MatrixType::MaxColsAtCompileTime - EIGEN_PLAIN_ENUM_MAX( DiagIndex, 0))),
54 MaskLvalueBit = is_lvalue<MatrixType>::value ? LvalueBit : 0,
56 MatrixTypeOuterStride = outer_stride_at_compile_time<MatrixType>::ret,
63 template<typename MatrixType, int _DiagIndex> class Diagonal
64 : public internal::dense_xpr_base< Diagonal<MatrixType,_DiagIndex> >::type
73 explicit inline Diagonal(MatrixType& matrix, Index a_index = DiagIndex) : m_matrix(matrix), m_index(a_index) {}
100 internal::is_lvalue<MatrixType>::value,
113 EIGEN_STATIC_ASSERT_LVALUE(MatrixType)
132 EIGEN_STATIC_ASSERT_LVALUE(MatrixType)
149 inline const typename internal::remove_all<typename MatrixType::Nested>::type&
162 typename internal::ref_selector<MatrixType>::non_const_type m_matrix;
174 template<int LoadMode> typename MatrixType::PacketReturnType packet(Index) const;
175 template<int LoadMode> typename MatrixType::PacketReturnType packet(Index,Index) const;