26 #ifndef EIGEN_VECTORBLOCK_H
27 #define EIGEN_VECTORBLOCK_H
63 template<
typename VectorType,
int Size>
64 struct traits<VectorBlock<VectorType, Size> >
65 :
public traits<Block<VectorType,
66 traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
67 traits<VectorType>::Flags & RowMajorBit ? Size : 1> >
73 :
public Block<VectorType,
74 internal::traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
75 internal::traits<VectorType>::Flags & RowMajorBit ? Size : 1>
77 typedef Block<VectorType,
78 internal::traits<VectorType>::Flags &
RowMajorBit ? 1 : Size,
81 IsColVector = !(internal::traits<VectorType>::Flags &
RowMajorBit)
86 using Base::operator=;
92 IsColVector ? start : 0, IsColVector ? 0 : start,
93 IsColVector ? size : 1, IsColVector ? 1 : size)
101 :
Base(vector, IsColVector ? start : 0, IsColVector ? 0 : start)
124 template<
typename Derived>
125 inline typename DenseBase<Derived>::SegmentReturnType
133 template<
typename Derived>
156 template<
typename Derived>
165 template<
typename Derived>
188 template<
typename Derived>
197 template<
typename Derived>
218 template<
typename Derived>
228 template<
typename Derived>
248 template<
typename Derived>
258 template<
typename Derived>
278 template<
typename Derived>
288 template<
typename Derived>
299 #endif // EIGEN_VECTORBLOCK_H