11#ifndef EIGEN_VECTORBLOCK_H
12#define EIGEN_VECTORBLOCK_H
17template<
typename VectorType,
int Size>
19 :
public traits<Block<VectorType,
20 traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
21 traits<VectorType>::Flags & RowMajorBit ? Size : 1> >
57 :
public Block<VectorType,
58 internal::traits<VectorType>::Flags & RowMajorBit ? 1 : Size,
59 internal::traits<VectorType>::Flags & RowMajorBit ? Size : 1>
61 typedef Block<VectorType,
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)
#define EIGEN_DEVICE_FUNC
Definition: Macros.h:986
#define EIGEN_DENSE_PUBLIC_INTERFACE(Derived)
Definition: Macros.h:1293
#define EIGEN_STRONG_INLINE
Definition: Macros.h:927
#define EIGEN_STATIC_ASSERT_VECTOR_ONLY(TYPE)
Definition: StaticAssert.h:142
Expression of a fixed-size or dynamic-size block.
Definition: Block.h:105
Expression of a fixed-size or dynamic-size sub-vector.
Definition: VectorBlock.h:60
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE VectorBlock(VectorType &vector, Index start, Index size)
Dynamic-size constructor.
Definition: VectorBlock.h:75
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE 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:66
EIGEN_CONSTEXPR Index size(const T &x)
Definition: Meta.h:479
Namespace containing all symbols from the Eigen library.
Definition: Core:141
EIGEN_DEFAULT_DENSE_INDEX_TYPE Index
The Index type as used for the API.
Definition: Meta.h:74
Definition: Eigen_Colamd.h:50
Definition: ForwardDeclarations.h:17