11 #ifndef EIGEN_VECTORBLOCK_H 12 #define EIGEN_VECTORBLOCK_H 17 template<
typename VectorType,
int Size>
19 :
public traits<Block<VectorType,
20 traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
21 traits<VectorType>::Flags & RowMajorBit ? Size : 1> >
56 template<
typename VectorType,
int Size>
class VectorBlock 57 :
public Block<VectorType,
58 internal::traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
59 internal::traits<VectorType>::Flags & RowMajorBit ? Size : 1>
70 using
Base::operator=;
77 IsColVector ? start : 0, IsColVector ? 0 : start,
78 IsColVector ?
size : 1, IsColVector ? 1 : size)
87 :
Base(vector, IsColVector ? start : 0, IsColVector ? 0 : start)
96 #endif // EIGEN_VECTORBLOCK_H Block< VectorType, internal::traits< VectorType >::Flags &RowMajorBit?1:Size, internal::traits< VectorType >::Flags &RowMajorBit?Size:1 > Base
Namespace containing all symbols from the Eigen library.
EIGEN_DEVICE_FUNC VectorBlock(VectorType &vector, Index start)
const unsigned int RowMajorBit
Expression of a fixed-size or dynamic-size sub-vector.
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Expression of a fixed-size or dynamic-size block.
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
#define EIGEN_STATIC_ASSERT_VECTOR_ONLY(TYPE)