Go to the source code of this file.
Classes | |
struct | ConstFixedBlockXpr< Rows, Cols > |
struct | ConstFixedSegmentReturnType< Size > |
struct | ConstNColsBlockXpr< N > |
struct | ConstNRowsBlockXpr< N > |
struct | FixedBlockXpr< Rows, Cols > |
struct | FixedSegmentReturnType< Size > |
struct | NColsBlockXpr< N > |
struct | NRowsBlockXpr< N > |
Typedefs | |
typedef Block< Derived > | BlockXpr |
typedef Block< Derived, internal::traits< Derived >::RowsAtCompileTime, Dynamic, !IsRowMajor > | ColsBlockXpr |
typedef Block< Derived, internal::traits< Derived >::RowsAtCompileTime, 1, !IsRowMajor > | ColXpr |
typedef Block< const Derived, IsRowMajor?1:Dynamic, IsRowMajor?Dynamic:1, true > | ConstInnerVectorReturnType |
typedef Block< const Derived, Dynamic, Dynamic, true > | ConstInnerVectorsReturnType |
typedef Block< Derived, IsRowMajor?1:Dynamic, IsRowMajor?Dynamic:1, true > | InnerVectorReturnType |
typedef Block< Derived, Dynamic, Dynamic, true > | InnerVectorsReturnType |
typedef Block< Derived, Dynamic, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > | RowsBlockXpr |
typedef Block< Derived, 1, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > | RowXpr |
typedef VectorBlock< Derived > | SegmentReturnType |
Functions | |
template<int NRows, int NCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< NRows, NCols >::Type | block (Index startRow, Index startCol) |
template<int NRows, int NCols> | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< NRows, NCols >::Type | block (Index startRow, Index startCol) const |
This is the const version of block<>(Index, Index). */. More... | |
template<int NRows, int NCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< NRows, NCols >::Type | block (Index startRow, Index startCol, Index blockRows, Index blockCols) |
template<int NRows, int NCols> | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< NRows, NCols >::Type | block (Index startRow, Index startCol, Index blockRows, Index blockCols) const |
This is the const version of block<>(Index, Index, Index, Index). More... | |
template<typename NRowsType , typename NColsType > | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type | block (Index startRow, Index startCol, NRowsType blockRows, NColsType blockCols) |
template<typename NRowsType , typename NColsType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type | block (Index startRow, Index startCol, NRowsType blockRows, NColsType blockCols) const |
This is the const version of block(Index,Index,NRowsType,NColsType) More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< CRows, CCols >::Type | bottomLeftCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< CRows, CCols >::Type | bottomLeftCorner () const |
This is the const version of bottomLeftCorner<int, int>(). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_STRONG_INLINE FixedBlockXpr< CRows, CCols >::Type | bottomLeftCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
const EIGEN_STRONG_INLINE ConstFixedBlockXpr< CRows, CCols >::Type | bottomLeftCorner (Index cRows, Index cCols) const |
This is the const version of bottomLeftCorner<int, int>(Index, Index). More... | |
template<typename NRowsType , typename NColsType > | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type | bottomLeftCorner (NRowsType cRows, NColsType cCols) |
template<typename NRowsType , typename NColsType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstFixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type | bottomLeftCorner (NRowsType cRows, NColsType cCols) const |
This is the const version of bottomLeftCorner(NRowsType, NColsType). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< CRows, CCols >::Type | bottomRightCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< CRows, CCols >::Type | bottomRightCorner () const |
This is the const version of bottomRightCorner<int, int>(). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< CRows, CCols >::Type | bottomRightCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< CRows, CCols >::Type | bottomRightCorner (Index cRows, Index cCols) const |
This is the const version of bottomRightCorner<int, int>(Index, Index). More... | |
template<typename NRowsType , typename NColsType > | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type | bottomRightCorner (NRowsType cRows, NColsType cCols) |
template<typename NRowsType , typename NColsType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type | bottomRightCorner (NRowsType cRows, NColsType cCols) const |
This is the const version of bottomRightCorner(NRowsType, NColsType). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr< N >::Type | bottomRows (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNRowsBlockXpr< N >::Type | bottomRows (Index n=N) const |
This is the const version of bottomRows<int>(). More... | |
template<typename NRowsType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr< internal::get_fixed_value< NRowsType >::value >::Type | bottomRows (NRowsType n) |
template<typename NRowsType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNRowsBlockXpr< internal::get_fixed_value< NRowsType >::value >::Type | bottomRows (NRowsType n) const |
This is the const version of bottomRows(NRowsType). More... | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ColXpr | col (Index i) const |
This is the const version of col(). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< N >::Type | head (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstFixedSegmentReturnType< N >::Type | head (Index n=N) const |
This is the const version of head<int>(). More... | |
template<typename NType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type | head (NType n) |
template<typename NType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type | head (NType n) const |
This is the const version of head(NType). More... | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE InnerVectorReturnType | innerVector (Index outer) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE InnerVectorsReturnType | innerVectors (Index outerStart, Index outerSize) |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr< N >::Type | leftCols (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNColsBlockXpr< N >::Type | leftCols (Index n=N) const |
This is the const version of leftCols<int>(). More... | |
template<typename NColsType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr< internal::get_fixed_value< NColsType >::value >::Type | leftCols (NColsType n) |
template<typename NColsType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNColsBlockXpr< internal::get_fixed_value< NColsType >::value >::Type | leftCols (NColsType n) const |
This is the const version of leftCols(NColsType). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr< N >::Type | middleCols (Index startCol, Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNColsBlockXpr< N >::Type | middleCols (Index startCol, Index n=N) const |
This is the const version of middleCols<int>(). More... | |
template<typename NColsType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr< internal::get_fixed_value< NColsType >::value >::Type | middleCols (Index startCol, NColsType numCols) |
template<typename NColsType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNColsBlockXpr< internal::get_fixed_value< NColsType >::value >::Type | middleCols (Index startCol, NColsType numCols) const |
This is the const version of middleCols(Index,NColsType). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr< N >::Type | middleRows (Index startRow, Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNRowsBlockXpr< N >::Type | middleRows (Index startRow, Index n=N) const |
This is the const version of middleRows<int>(). More... | |
template<typename NRowsType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr< internal::get_fixed_value< NRowsType >::value >::Type | middleRows (Index startRow, NRowsType n) |
template<typename NRowsType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNRowsBlockXpr< internal::get_fixed_value< NRowsType >::value >::Type | middleRows (Index startRow, NRowsType n) const |
This is the const version of middleRows(Index,NRowsType). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr< N >::Type | rightCols (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNColsBlockXpr< N >::Type | rightCols (Index n=N) const |
This is the const version of rightCols<int>(). More... | |
template<typename NColsType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr< internal::get_fixed_value< NColsType >::value >::Type | rightCols (NColsType n) |
template<typename NColsType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNColsBlockXpr< internal::get_fixed_value< NColsType >::value >::Type | rightCols (NColsType n) const |
This is the const version of rightCols(NColsType). More... | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE RowXpr | row (Index i) const |
This is the const version of row(). */. More... | |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< N >::Type | segment (Index start, Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstFixedSegmentReturnType< N >::Type | segment (Index start, Index n=N) const |
This is the const version of segment<int>(Index). More... | |
template<typename NType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type | segment (Index start, NType n) |
template<typename NType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type | segment (Index start, NType n) const |
This is the const version of segment(Index,NType). More... | |
template<DirectionType Direction> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::conditional< Direction==Vertical, ColXpr, RowXpr >::type | subVector (Index i) |
template<DirectionType Direction> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::conditional< Direction==Vertical, ConstColXpr, ConstRowXpr >::type | subVector (Index i) const |
template<DirectionType Direction> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index | subVectors () const |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< N >::Type | tail (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstFixedSegmentReturnType< N >::Type | tail (Index n=N) const |
This is the const version of tail<int>. More... | |
template<typename NType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type | tail (NType n) |
template<typename NType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedSegmentReturnType< internal::get_fixed_value< NType >::value >::Type | tail (NType n) const |
This is the const version of tail(Index). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< CRows, CCols >::Type | topLeftCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< CRows, CCols >::Type | topLeftCorner () const |
This is the const version of topLeftCorner<int, int>(). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< CRows, CCols >::Type | topLeftCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< CRows, CCols >::Type | topLeftCorner (Index cRows, Index cCols) const |
This is the const version of topLeftCorner<int, int>(Index, Index). More... | |
template<typename NRowsType , typename NColsType > | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type | topLeftCorner (NRowsType cRows, NColsType cCols) |
template<typename NRowsType , typename NColsType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type | topLeftCorner (NRowsType cRows, NColsType cCols) const |
This is the const version of topLeftCorner(Index, Index). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< CRows, CCols >::Type | topRightCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< CRows, CCols >::Type | topRightCorner () const |
This is the const version of topRightCorner<int, int>(). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< CRows, CCols >::Type | topRightCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< CRows, CCols >::Type | topRightCorner (Index cRows, Index cCols) const |
This is the const version of topRightCorner<int, int>(Index, Index). More... | |
template<typename NRowsType , typename NColsType > | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type | topRightCorner (NRowsType cRows, NColsType cCols) |
template<typename NRowsType , typename NColsType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr< internal::get_fixed_value< NRowsType >::value, internal::get_fixed_value< NColsType >::value >::Type | topRightCorner (NRowsType cRows, NColsType cCols) const |
This is the const version of topRightCorner(NRowsType, NColsType). More... | |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr< N >::Type | topRows (Index n=N) |
template<int N> | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNRowsBlockXpr< N >::Type | topRows (Index n=N) const |
This is the const version of topRows<int>(). More... | |
template<typename NRowsType > | |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr< internal::get_fixed_value< NRowsType >::value >::Type | topRows (NRowsType n) |
template<typename NRowsType > | |
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNRowsBlockXpr< internal::get_fixed_value< NRowsType >::value >::Type | topRows (NRowsType n) const |
This is the const version of topRows(NRowsType). More... | |
Variables | |
const typedef Block< const Derived > | ConstBlockXpr |
const typedef Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, Dynamic, !IsRowMajor > | ConstColsBlockXpr |
const typedef Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, 1, !IsRowMajor > | ConstColXpr |
const typedef Block< const Derived, Dynamic, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > | ConstRowsBlockXpr |
const typedef Block< const Derived, 1, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > | ConstRowXpr |
const typedef VectorBlock< const Derived > | ConstSegmentReturnType |
typedef Block<Derived> BlockXpr |
Definition at line 32 of file BlockMethods.h.
typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBlockXpr |
Definition at line 20 of file BlockMethods.h.
typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ColXpr |
Definition at line 14 of file BlockMethods.h.
typedef Block<const Derived,IsRowMajor?1:Dynamic,IsRowMajor?Dynamic:1,true> ConstInnerVectorReturnType |
Definition at line 45 of file BlockMethods.h.
typedef Block<const Derived,Dynamic,Dynamic,true> ConstInnerVectorsReturnType |
Definition at line 49 of file BlockMethods.h.
typedef Block<Derived,IsRowMajor?1:Dynamic,IsRowMajor?Dynamic:1,true> InnerVectorReturnType |
Definition at line 44 of file BlockMethods.h.
typedef Block<Derived,Dynamic,Dynamic,true> InnerVectorsReturnType |
Definition at line 48 of file BlockMethods.h.
typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlockXpr |
Definition at line 23 of file BlockMethods.h.
typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowXpr |
Definition at line 17 of file BlockMethods.h.
typedef VectorBlock<Derived> SegmentReturnType |
Definition at line 38 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<NRows,NCols>::Type block | ( | Index | startRow, |
Index | startCol | ||
) |
*this
.The template parameters NRows and NCols are the number of rows and columns in the block.
startRow | the first row in the block |
startCol | the first column in the block |
Example:
Output:
Definition at line 1027 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<NRows,NCols>::Type block | ( | Index | startRow, |
Index | startCol | ||
) | const |
This is the const version of block<>(Index, Index). */.
Definition at line 1035 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<NRows,NCols>::Type block | ( | Index | startRow, |
Index | startCol, | ||
Index | blockRows, | ||
Index | blockCols | ||
) |
*this
.NRows | number of rows in block as specified at compile-time |
NCols | number of columns in block as specified at compile-time |
startRow | the first row in the block |
startCol | the first column in the block |
blockRows | number of rows in block as specified at run-time |
blockCols | number of columns in block as specified at run-time |
This function is mainly useful for blocks where the number of rows is specified at compile-time and the number of columns is specified at run-time, or vice versa. The compile-time and run-time information should not contradict. In other words, blockRows should equal NRows unless NRows is Dynamic, and the same for the number of columns.
Example:
Output:
Definition at line 1073 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<NRows,NCols>::Type block | ( | Index | startRow, |
Index | startCol, | ||
Index | blockRows, | ||
Index | blockCols | ||
) | const |
This is the const version of block<>(Index, Index, Index, Index).
Definition at line 1082 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type block | ( | Index | startRow, |
Index | startCol, | ||
NRowsType | blockRows, | ||
NColsType | blockCols | ||
) |
*this
with either dynamic or fixed sizes.startRow | the first row in the block |
startCol | the first column in the block |
blockRows | number of rows in the block, specified at either run-time or compile-time |
blockCols | number of columns in the block, specified at either run-time or compile-time |
NRowsType | the type of the value handling the number of rows in the block, typically Index. |
NColsType | the type of the value handling the number of columns in the block, typically Index. |
Example using runtime (aka dynamic) sizes:
Output:
\newin{3.4}:
The number of rows blockRows and columns blockCols can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. In the later case, n
plays the role of a runtime fallback value in case N
equals Eigen::Dynamic. Here is an example with a fixed number of rows NRows
and dynamic number of columns cols:
This function thus fully covers the features offered by the following overloads block<NRows,NCols>(Index, Index), and block<NRows,NCols>(Index, Index, Index, Index) that are thus obsolete. Indeed, this generic version avoids redundancy, it preserves the argument order, and prevents the need to rely on the template keyword in templated code.
but with less redundancy and more consistency as it does not modify the argument order and seamlessly enable hybrid fixed/dynamic sizes.
Definition at line 96 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type block | ( | Index | startRow, |
Index | startCol, | ||
NRowsType | blockRows, | ||
NColsType | blockCols | ||
) | const |
This is the const version of block(Index,Index,NRowsType,NColsType)
Definition at line 110 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<CRows,CCols>::Type bottomLeftCorner | ( | ) |
*this
.The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
Definition at line 498 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<CRows,CCols>::Type bottomLeftCorner | ( | ) | const |
This is the const version of bottomLeftCorner<int, int>().
Definition at line 506 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_STRONG_INLINE FixedBlockXpr<CRows,CCols>::Type bottomLeftCorner | ( | Index | cRows, |
Index | cCols | ||
) |
*this
.CRows | number of rows in corner as specified at compile-time |
CCols | number of columns in corner as specified at compile-time |
cRows | number of rows in corner as specified at run-time |
cCols | number of columns in corner as specified at run-time |
This function is mainly useful for corners where the number of rows is specified at compile-time and the number of columns is specified at run-time, or vice versa. The compile-time and run-time information should not contradict. In other words, cRows should equal CRows unless CRows is Dynamic, and the same for the number of columns.
Example:
Output:
Definition at line 532 of file BlockMethods.h.
const EIGEN_STRONG_INLINE ConstFixedBlockXpr<CRows,CCols>::Type bottomLeftCorner | ( | Index | cRows, |
Index | cCols | ||
) | const |
This is the const version of bottomLeftCorner<int, int>(Index, Index).
Definition at line 540 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type bottomLeftCorner | ( | NRowsType | cRows, |
NColsType | cCols | ||
) |
*this
with either dynamic or fixed sizes.cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
NRowsType | the type of the value handling the number of rows in the block, typically Index. |
NColsType | the type of the value handling the number of columns in the block, typically Index. |
Example:
Output:
The number of rows blockRows and columns blockCols can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 463 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstFixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type bottomLeftCorner | ( | NRowsType | cRows, |
NColsType | cCols | ||
) | const |
This is the const version of bottomLeftCorner(NRowsType, NColsType).
Definition at line 478 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<CRows,CCols>::Type bottomRightCorner | ( | ) |
*this
.The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
Definition at line 390 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<CRows,CCols>::Type bottomRightCorner | ( | ) | const |
This is the const version of bottomRightCorner<int, int>().
Definition at line 398 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<CRows,CCols>::Type bottomRightCorner | ( | Index | cRows, |
Index | cCols | ||
) |
*this
.CRows | number of rows in corner as specified at compile-time |
CCols | number of columns in corner as specified at compile-time |
cRows | number of rows in corner as specified at run-time |
cCols | number of columns in corner as specified at run-time |
This function is mainly useful for corners where the number of rows is specified at compile-time and the number of columns is specified at run-time, or vice versa. The compile-time and run-time information should not contradict. In other words, cRows should equal CRows unless CRows is Dynamic, and the same for the number of columns.
Example:
Output:
Definition at line 424 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<CRows,CCols>::Type bottomRightCorner | ( | Index | cRows, |
Index | cCols | ||
) | const |
This is the const version of bottomRightCorner<int, int>(Index, Index).
Definition at line 432 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type bottomRightCorner | ( | NRowsType | cRows, |
NColsType | cCols | ||
) |
*this
with either dynamic or fixed sizes.cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
NRowsType | the type of the value handling the number of rows in the block, typically Index. |
NColsType | the type of the value handling the number of columns in the block, typically Index. |
Example:
Output:
The number of rows blockRows and columns blockCols can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 355 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type bottomRightCorner | ( | NRowsType | cRows, |
NColsType | cCols | ||
) | const |
This is the const version of bottomRightCorner(NRowsType, NColsType).
Definition at line 370 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr<N>::Type bottomRows | ( | Index | n = N | ) |
*this
.N | the number of rows in the block as specified at compile-time |
n | the number of rows in the block as specified at run-time |
The compile-time and run-time information should not contradict. In other words, n should equal N unless N is Dynamic.
Example:
Output:
Definition at line 682 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNRowsBlockXpr<N>::Type bottomRows | ( | Index | n = N | ) | const |
This is the const version of bottomRows<int>().
Definition at line 690 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr<internal::get_fixed_value<NRowsType>::value>::Type bottomRows | ( | NRowsType | n | ) |
*this
.n | the number of rows in the block |
NRowsType | the type of the value handling the number of rows in the block, typically Index. |
Example:
Output:
The number of rows n can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 645 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNRowsBlockXpr<internal::get_fixed_value<NRowsType>::value>::Type bottomRows | ( | NRowsType | n | ) | const |
This is the const version of bottomRows(NRowsType).
Definition at line 659 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstColXpr col | ( | Index | i | ) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType<N>::Type head | ( | Index | n = N | ) |
*this
.\only_for_vectors
N | the number of coefficients in the segment as specified at compile-time |
n | the number of coefficients in the segment as specified at run-time |
The compile-time and run-time information should not contradict. In other words, n should equal N unless N is Dynamic.
Example:
Output:
Definition at line 1329 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstFixedSegmentReturnType<N>::Type head | ( | Index | n = N | ) | const |
This is the const version of head<int>().
Definition at line 1338 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType<internal::get_fixed_value<NType>::value>::Type head | ( | NType | n | ) |
*this
with either dynamic or fixed sizes.\only_for_vectors
n | the number of coefficients in the segment |
NType | the type of the value handling the number of coefficients in the segment, typically Index. |
Example:
Output:
The number of coefficients n can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 1208 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedSegmentReturnType<internal::get_fixed_value<NType>::value>::Type head | ( | NType | n | ) | const |
This is the const version of head(NType).
Definition at line 1223 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstInnerVectorReturnType innerVector | ( | Index | outer | ) |
*this
if *this
is col-major (resp. row-major).*this
if *this
is col-major (resp. row-major). Read-only. Definition at line 1380 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstInnerVectorsReturnType innerVectors | ( | Index | outerStart, |
Index | outerSize | ||
) |
*this
if *this
is col-major (resp. row-major).*this
if *this
is col-major (resp. row-major). Read-only. Definition at line 1395 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr<N>::Type leftCols | ( | Index | n = N | ) |
*this
.N | the number of columns in the block as specified at compile-time |
n | the number of columns in the block as specified at run-time |
The compile-time and run-time information should not contradict. In other words, n should equal N unless N is Dynamic.
Example:
Output:
Definition at line 834 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNColsBlockXpr<N>::Type leftCols | ( | Index | n = N | ) | const |
This is the const version of leftCols<int>().
Definition at line 842 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr<internal::get_fixed_value<NColsType>::value>::Type leftCols | ( | NColsType | n | ) |
*this
.n | the number of columns in the block |
NColsType | the type of the value handling the number of columns in the block, typically Index. |
Example:
Output:
The number of columns n can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 797 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNColsBlockXpr<internal::get_fixed_value<NColsType>::value>::Type leftCols | ( | NColsType | n | ) | const |
This is the const version of leftCols(NColsType).
Definition at line 811 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr<N>::Type middleCols | ( | Index | startCol, |
Index | n = N |
||
) |
*this
.N | the number of columns in the block as specified at compile-time |
startCol | the index of the first column in the block |
n | the number of columns in the block as specified at run-time |
The compile-time and run-time information should not contradict. In other words, n should equal N unless N is Dynamic.
Example:
Output:
Definition at line 986 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNColsBlockXpr<N>::Type middleCols | ( | Index | startCol, |
Index | n = N |
||
) | const |
This is the const version of middleCols<int>().
Definition at line 994 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr<internal::get_fixed_value<NColsType>::value>::Type middleCols | ( | Index | startCol, |
NColsType | numCols | ||
) |
*this
.startCol | the index of the first column in the block |
numCols | the number of columns in the block |
NColsType | the type of the value handling the number of columns in the block, typically Index. |
Example:
Output:
The number of columns n can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 948 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNColsBlockXpr<internal::get_fixed_value<NColsType>::value>::Type middleCols | ( | Index | startCol, |
NColsType | numCols | ||
) | const |
This is the const version of middleCols(Index,NColsType).
Definition at line 962 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr<N>::Type middleRows | ( | Index | startRow, |
Index | n = N |
||
) |
*this
.N | the number of rows in the block as specified at compile-time |
startRow | the index of the first row in the block |
n | the number of rows in the block as specified at run-time |
The compile-time and run-time information should not contradict. In other words, n should equal N unless N is Dynamic.
Example:
Output:
Definition at line 759 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNRowsBlockXpr<N>::Type middleRows | ( | Index | startRow, |
Index | n = N |
||
) | const |
This is the const version of middleRows<int>().
Definition at line 767 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr<internal::get_fixed_value<NRowsType>::value>::Type middleRows | ( | Index | startRow, |
NRowsType | n | ||
) |
*this
.startRow | the index of the first row in the block |
n | the number of rows in the block |
NRowsType | the type of the value handling the number of rows in the block, typically Index. |
Example:
Output:
The number of rows n can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 721 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNRowsBlockXpr<internal::get_fixed_value<NRowsType>::value>::Type middleRows | ( | Index | startRow, |
NRowsType | n | ||
) | const |
This is the const version of middleRows(Index,NRowsType).
Definition at line 735 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr<N>::Type rightCols | ( | Index | n = N | ) |
*this
.N | the number of columns in the block as specified at compile-time |
n | the number of columns in the block as specified at run-time |
The compile-time and run-time information should not contradict. In other words, n should equal N unless N is Dynamic.
Example:
Output:
Definition at line 909 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNColsBlockXpr<N>::Type rightCols | ( | Index | n = N | ) | const |
This is the const version of rightCols<int>().
Definition at line 917 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NColsBlockXpr<internal::get_fixed_value<NColsType>::value>::Type rightCols | ( | NColsType | n | ) |
*this
.n | the number of columns in the block |
NColsType | the type of the value handling the number of columns in the block, typically Index. |
Example:
Output:
The number of columns n can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 872 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNColsBlockXpr<internal::get_fixed_value<NColsType>::value>::Type rightCols | ( | NColsType | n | ) | const |
This is the const version of rightCols(NColsType).
Definition at line 886 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstRowXpr row | ( | Index | i | ) |
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType<N>::Type segment | ( | Index | start, |
Index | n = N |
||
) |
*this
\only_for_vectors
N | the number of coefficients in the segment as specified at compile-time |
start | the index of the first element in the segment |
n | the number of coefficients in the segment as specified at compile-time |
The compile-time and run-time information should not contradict. In other words, n should equal N unless N is Dynamic.
Example:
Output:
Definition at line 1297 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstFixedSegmentReturnType<N>::Type segment | ( | Index | start, |
Index | n = N |
||
) | const |
This is the const version of segment<int>(Index).
Definition at line 1306 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType<internal::get_fixed_value<NType>::value>::Type segment | ( | Index | start, |
NType | n | ||
) |
*this
with either dynamic or fixed sizes.\only_for_vectors
start | the first coefficient in the segment |
n | the number of coefficients in the segment |
NType | the type of the value handling the number of coefficients in the segment, typically Index. |
Example:
Output:
The number of coefficients n can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 1158 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedSegmentReturnType<internal::get_fixed_value<NType>::value>::Type segment | ( | Index | start, |
NType | n | ||
) | const |
This is the const version of segment(Index,NType).
Definition at line 1174 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::conditional<Direction==Vertical,ColXpr,RowXpr>::type subVector | ( | Index | i | ) |
Direction
Definition at line 1422 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE internal::conditional<Direction==Vertical,ConstColXpr,ConstRowXpr>::type subVector | ( | Index | i | ) | const |
This is the const version of subVector(Index)
Definition at line 1431 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE EIGEN_CONSTEXPR Index subVectors | ( | ) | const |
Direction
Definition at line 1441 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType<N>::Type tail | ( | Index | n = N | ) |
*this
.\only_for_vectors
N | the number of coefficients in the segment as specified at compile-time |
n | the number of coefficients in the segment as specified at run-time |
The compile-time and run-time information should not contradict. In other words, n should equal N unless N is Dynamic.
Example:
Output:
Definition at line 1361 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstFixedSegmentReturnType<N>::Type tail | ( | Index | n = N | ) | const |
This is the const version of tail<int>.
Definition at line 1370 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedSegmentReturnType<internal::get_fixed_value<NType>::value>::Type tail | ( | NType | n | ) |
*this
with either dynamic or fixed sizes.\only_for_vectors
n | the number of coefficients in the segment |
NType | the type of the value handling the number of coefficients in the segment, typically Index. |
Example:
Output:
The number of coefficients n can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 1257 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedSegmentReturnType<internal::get_fixed_value<NType>::value>::Type tail | ( | NType | n | ) | const |
This is the const version of tail(Index).
Definition at line 1272 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<CRows,CCols>::Type topLeftCorner | ( | ) |
*this
.The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
Definition at line 282 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<CRows,CCols>::Type topLeftCorner | ( | ) | const |
This is the const version of topLeftCorner<int, int>().
Definition at line 290 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<CRows,CCols>::Type topLeftCorner | ( | Index | cRows, |
Index | cCols | ||
) |
*this
.CRows | number of rows in corner as specified at compile-time |
CCols | number of columns in corner as specified at compile-time |
cRows | number of rows in corner as specified at run-time |
cCols | number of columns in corner as specified at run-time |
This function is mainly useful for corners where the number of rows is specified at compile-time and the number of columns is specified at run-time, or vice versa. The compile-time and run-time information should not contradict. In other words, cRows should equal CRows unless CRows is Dynamic, and the same for the number of columns.
Example:
Output:
Definition at line 316 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<CRows,CCols>::Type topLeftCorner | ( | Index | cRows, |
Index | cCols | ||
) | const |
This is the const version of topLeftCorner<int, int>(Index, Index).
Definition at line 324 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type topLeftCorner | ( | NRowsType | cRows, |
NColsType | cCols | ||
) |
*this
with either dynamic or fixed sizes.cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
NRowsType | the type of the value handling the number of rows in the block, typically Index. |
NColsType | the type of the value handling the number of columns in the block, typically Index. |
Example:
Output:
The number of rows blockRows and columns blockCols can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 249 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type topLeftCorner | ( | NRowsType | cRows, |
NColsType | cCols | ||
) | const |
This is the const version of topLeftCorner(Index, Index).
Definition at line 263 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<CRows,CCols>::Type topRightCorner | ( | ) |
*this
.CRows | the number of rows in the corner |
CCols | the number of columns in the corner |
Example:
Output:
Definition at line 176 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<CRows,CCols>::Type topRightCorner | ( | ) | const |
This is the const version of topRightCorner<int, int>().
Definition at line 184 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<CRows,CCols>::Type topRightCorner | ( | Index | cRows, |
Index | cCols | ||
) |
*this
.CRows | number of rows in corner as specified at compile-time |
CCols | number of columns in corner as specified at compile-time |
cRows | number of rows in corner as specified at run-time |
cCols | number of columns in corner as specified at run-time |
This function is mainly useful for corners where the number of rows is specified at compile-time and the number of columns is specified at run-time, or vice versa. The compile-time and run-time information should not contradict. In other words, cRows should equal CRows unless CRows is Dynamic, and the same for the number of columns.
Example:
Output:
Definition at line 210 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<CRows,CCols>::Type topRightCorner | ( | Index | cRows, |
Index | cCols | ||
) | const |
This is the const version of topRightCorner<int, int>(Index, Index).
Definition at line 218 of file BlockMethods.h.
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE FixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type topRightCorner | ( | NRowsType | cRows, |
NColsType | cCols | ||
) |
*this
with either dynamic or fixed sizes.cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
NRowsType | the type of the value handling the number of rows in the block, typically Index. |
NColsType | the type of the value handling the number of columns in the block, typically Index. |
Example with dynamic sizes:
Output:
The number of rows blockRows and columns blockCols can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 142 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstFixedBlockXpr<internal::get_fixed_value<NRowsType>::value,internal::get_fixed_value<NColsType>::value>::Type topRightCorner | ( | NRowsType | cRows, |
NColsType | cCols | ||
) | const |
This is the const version of topRightCorner(NRowsType, NColsType).
Definition at line 156 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr<N>::Type topRows | ( | Index | n = N | ) |
*this
.N | the number of rows in the block as specified at compile-time |
n | the number of rows in the block as specified at run-time |
The compile-time and run-time information should not contradict. In other words, n should equal N unless N is Dynamic.
Example:
Output:
Definition at line 607 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE ConstNRowsBlockXpr<N>::Type topRows | ( | Index | n = N | ) | const |
This is the const version of topRows<int>().
Definition at line 615 of file BlockMethods.h.
EIGEN_DEVICE_FUNC EIGEN_STRONG_INLINE NRowsBlockXpr<internal::get_fixed_value<NRowsType>::value>::Type topRows | ( | NRowsType | n | ) |
*this
.n | the number of rows in the block |
NRowsType | the type of the value handling the number of rows in the block, typically Index. |
Example:
Output:
The number of rows n can also be specified at compile-time by passing Eigen::fix<N>, or Eigen::fix<N>(n) as arguments. See block() for the details.
Definition at line 570 of file BlockMethods.h.
EIGEN_DEVICE_FUNC const EIGEN_STRONG_INLINE ConstNRowsBlockXpr<internal::get_fixed_value<NRowsType>::value>::Type topRows | ( | NRowsType | n | ) | const |
This is the const version of topRows(NRowsType).
Definition at line 584 of file BlockMethods.h.
const typedef Block<const Derived> ConstBlockXpr |
Definition at line 33 of file BlockMethods.h.
const typedef Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ConstColsBlockXpr |
Definition at line 21 of file BlockMethods.h.
const typedef Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ConstColXpr |
Definition at line 15 of file BlockMethods.h.
const typedef Block<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowsBlockXpr |
Definition at line 24 of file BlockMethods.h.
const typedef Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowXpr |
Definition at line 18 of file BlockMethods.h.
const typedef VectorBlock<const Derived> ConstSegmentReturnType |
Definition at line 39 of file BlockMethods.h.