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 Namespace containing all symbols from the Eigen library.
Definition: bench_norm.cpp:85
EIGEN_DEVICE_FUNC VectorBlock(VectorType &vector, Index start)
Fixed-size constructor.
Definition: VectorBlock.h:86
const unsigned int RowMajorBit
for a matrix, this means that the storage order is row-major.
Definition: Constants.h:61
EIGEN_DEVICE_FUNC VectorBlock(VectorType &vector, Index start, Index size)
Dynamic-size constructor.
Definition: VectorBlock.h:75
Expression of a fixed-size or dynamic-size sub-vector.
Definition: ForwardDeclarations.h:87
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:33
Definition: BandTriangularSolver.h:13
Expression of a fixed-size or dynamic-size block.
Definition: Block.h:103
Definition: ForwardDeclarations.h:17