11#ifndef EIGEN_VECTORBLOCK_H
12#define EIGEN_VECTORBLOCK_H
48template<
typename VectorType,
int Size>
50 :
public traits<Block<VectorType,
51 traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
52 traits<VectorType>::Flags & RowMajorBit ? Size : 1> >
58 :
public Block<VectorType,
59 internal::traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
60 internal::traits<VectorType>::Flags & RowMajorBit ? Size : 1>
62 typedef Block<VectorType,
71 using Base::operator=;
76 inline VectorBlock(VectorType& vector, Index start, Index size)
78 IsColVector ? start : 0, IsColVector ? 0 : start,
79 IsColVector ? size : 1, IsColVector ? 1 : size)
88 :
Base(vector, IsColVector ? start : 0, IsColVector ? 0 : start)
Expression of a fixed-size or dynamic-size block.
Definition Block.h:106
Pseudo expression representing a solving operation.
Definition Solve.h:63
Expression of a fixed-size or dynamic-size sub-vector.
Definition VectorBlock.h:61
EIGEN_DEVICE_FUNC VectorBlock(VectorType &vector, Index start, Index size)
Dynamic-size constructor.
Definition VectorBlock.h:76
EIGEN_DEVICE_FUNC VectorBlock(VectorType &vector, Index start)
Fixed-size constructor.
Definition VectorBlock.h:87
const unsigned int RowMajorBit
for a matrix, this means that the storage order is row-major.
Definition Constants.h:61
Definition ForwardDeclarations.h:17