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 const Block< const Derived > | ConstBlockXpr |
typedef const Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, Dynamic,!IsRowMajor > | ConstColsBlockXpr |
typedef const Block< const Derived, internal::traits< Derived >::RowsAtCompileTime, 1,!IsRowMajor > | ConstColXpr |
typedef const Block< const Derived, Dynamic, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > | ConstRowsBlockXpr |
typedef const Block< const Derived, 1, internal::traits< Derived >::ColsAtCompileTime, IsRowMajor > | ConstRowXpr |
typedef const VectorBlock< const Derived > | ConstSegmentReturnType |
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 | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC BlockXpr | block (Index startRow, Index startCol, Index blockRows, Index blockCols) const |
This is the const version of block(Index,Index,Index,Index). */. More... | |
template<int NRows, int NCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC FixedBlockXpr< NRows, NCols >::Type | block (Index startRow, Index startCol) |
template<int NRows, int NCols> | |
EIGEN_DEVICE_FUNC const ConstFixedBlockXpr< NRows, NCols >::Type | block (Index startRow, Index startCol) const |
This is the const version of block<>(Index, Index). */. More... | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC BlockXpr | bottomLeftCorner (Index cRows, Index cCols) const |
This is the const version of bottomLeftCorner(Index, Index). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC FixedBlockXpr< CRows, CCols >::Type | bottomLeftCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const ConstFixedBlockXpr< CRows, CCols >::Type | bottomLeftCorner () const |
This is the const version of bottomLeftCorner<int, int>(). More... | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC BlockXpr | bottomRightCorner (Index cRows, Index cCols) const |
This is the const version of bottomRightCorner(Index, Index). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC FixedBlockXpr< CRows, CCols >::Type | bottomRightCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const ConstFixedBlockXpr< CRows, CCols >::Type | bottomRightCorner () const |
This is the const version of bottomRightCorner<int, int>(). More... | |
EIGEN_DEVICE_FUNC RowsBlockXpr | bottomRows (Index n) const |
This is the const version of bottomRows(Index). More... | |
EIGEN_DEVICE_FUNC ColXpr | col (Index i) const |
This is the const version of col(). More... | |
EIGEN_DEVICE_FUNC SegmentReturnType | head (Index n) const |
This is the const version of head(Index). More... | |
EIGEN_DEVICE_FUNC ColsBlockXpr | leftCols (Index n) const |
This is the const version of leftCols(Index). More... | |
EIGEN_DEVICE_FUNC ColsBlockXpr | middleCols (Index startCol, Index numCols) const |
This is the const version of middleCols(Index,Index). More... | |
EIGEN_DEVICE_FUNC RowsBlockXpr | middleRows (Index startRow, Index n) const |
This is the const version of middleRows(Index,Index). More... | |
EIGEN_DEVICE_FUNC ColsBlockXpr | rightCols (Index n) const |
This is the const version of rightCols(Index). More... | |
EIGEN_DEVICE_FUNC RowXpr | row (Index i) const |
This is the const version of row(). */. More... | |
EIGEN_DEVICE_FUNC SegmentReturnType | segment (Index start, Index n) const |
This is the const version of segment(Index,Index). More... | |
EIGEN_DEVICE_FUNC SegmentReturnType | tail (Index n) const |
This is the const version of tail(Index). More... | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC BlockXpr | topLeftCorner (Index cRows, Index 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 FixedBlockXpr< CRows, CCols >::Type | topLeftCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const ConstFixedBlockXpr< CRows, CCols >::Type | topLeftCorner () const |
This is the const version of topLeftCorner<int, int>(). More... | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC BlockXpr | topRightCorner (Index cRows, Index cCols) const |
This is the const version of topRightCorner(Index, Index). More... | |
template<int CRows, int CCols> | |
EIGEN_DOC_BLOCK_ADDONS_NOT_INNER_PANEL EIGEN_DEVICE_FUNC FixedBlockXpr< CRows, CCols >::Type | topRightCorner () |
template<int CRows, int CCols> | |
EIGEN_DEVICE_FUNC const ConstFixedBlockXpr< CRows, CCols >::Type | topRightCorner () const |
This is the const version of topRightCorner<int, int>(). More... | |
EIGEN_DEVICE_FUNC RowsBlockXpr | topRows (Index n) const |
This is the const version of topRows(Index). More... | |
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 const Block<const Derived> ConstBlockXpr |
Definition at line 33 of file BlockMethods.h.
typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ConstColsBlockXpr |
Definition at line 21 of file BlockMethods.h.
typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ConstColXpr |
Definition at line 15 of file BlockMethods.h.
typedef const Block<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowsBlockXpr |
Definition at line 24 of file BlockMethods.h.
typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowXpr |
Definition at line 18 of file BlockMethods.h.
typedef const VectorBlock<const Derived> ConstSegmentReturnType |
Definition at line 39 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.
|
inline |
This is the const version of block(Index,Index,Index,Index). */.
This is the const version of block<>(Index, Index, Index, Index).
startRow | the first row in the block |
startCol | the first column in the block |
blockRows | the number of rows in the block |
blockCols | the number of columns in the block |
Example:
Output:
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:
Matrix4i m = Matrix4i::Random(); cout << "Here is the matrix m:" << endl << m << endl; cout << "Here is the block:" << endl << m.block<2, Dynamic>(1, 1, 2, 3) << endl; m.block<2, Dynamic>(1, 1, 2, 3).setZero(); cout << "Now the matrix m is:" << endl << m << endl;
Definition at line 64 of file BlockMethods.h.
|
inline |
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 780 of file BlockMethods.h.
|
inline |
This is the const version of block<>(Index, Index). */.
Definition at line 788 of file BlockMethods.h.
|
inline |
This is the const version of bottomLeftCorner(Index, Index).
This is the const version of bottomLeftCorner<int, int>(Index, Index).
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
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 348 of file BlockMethods.h.
|
inline |
The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
Definition at line 373 of file BlockMethods.h.
|
inline |
This is the const version of bottomLeftCorner<int, int>().
Definition at line 381 of file BlockMethods.h.
|
inline |
This is the const version of bottomRightCorner(Index, Index).
This is the const version of bottomRightCorner<int, int>(Index, Index).
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
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 263 of file BlockMethods.h.
|
inline |
The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
Definition at line 288 of file BlockMethods.h.
|
inline |
This is the const version of bottomRightCorner<int, int>().
Definition at line 296 of file BlockMethods.h.
|
inline |
This is the const version of bottomRows(Index).
This is the const version of bottomRows<int>().
n | the number of rows in the block |
Example:
Output:
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 488 of file BlockMethods.h.
|
inline |
This is the const version of col().
Example:
Output:
Definition at line 838 of file BlockMethods.h.
|
inline |
This is the const version of head(Index).
This is the const version of head<int>().
n | the number of coefficients in the segment |
Example:
Output:
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 919 of file BlockMethods.h.
|
inline |
This is the const version of leftCols(Index).
This is the const version of leftCols<int>().
n | the number of columns in the block |
Example:
Output:
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 602 of file BlockMethods.h.
|
inline |
This is the const version of middleCols(Index,Index).
This is the const version of middleCols<int>().
startCol | the index of the first column in the block |
numCols | the number of columns in the block |
Example:
Output:
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 715 of file BlockMethods.h.
|
inline |
This is the const version of middleRows(Index,Index).
This is the const version of middleRows<int>().
startRow | the index of the first row in the block |
n | the number of rows in the block |
Example:
Output:
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 545 of file BlockMethods.h.
|
inline |
This is the const version of rightCols(Index).
This is the const version of rightCols<int>().
n | the number of columns in the block |
Example:
Output:
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 658 of file BlockMethods.h.
|
inline |
This is the const version of row(). */.
Example:
Output:
Definition at line 859 of file BlockMethods.h.
|
inline |
This is the const version of segment(Index,Index).
This is the const version of segment<int>(Index).
start | the first coefficient in the segment |
n | the number of coefficients in the segment |
Example:
Output:
*this
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 888 of file BlockMethods.h.
|
inline |
This is the const version of tail(Index).
This is the const version of tail<int>.
n | the number of coefficients in the segment |
Example:
Output:
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 949 of file BlockMethods.h.
|
inline |
This is the const version of topLeftCorner(Index, Index).
This is the const version of topLeftCorner<int, int>(Index, Index).
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
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 178 of file BlockMethods.h.
|
inline |
The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
Definition at line 203 of file BlockMethods.h.
|
inline |
This is the const version of topLeftCorner<int, int>().
Definition at line 211 of file BlockMethods.h.
|
inline |
This is the const version of topRightCorner(Index, Index).
This is the const version of topRightCorner<int, int>(Index, Index).
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
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 92 of file BlockMethods.h.
|
inline |
CRows | the number of rows in the corner |
CCols | the number of columns in the corner |
Example:
Output:
Definition at line 118 of file BlockMethods.h.
|
inline |
This is the const version of topRightCorner<int, int>().
Definition at line 126 of file BlockMethods.h.
|
inline |
This is the const version of topRows(Index).
This is the const version of topRows<int>().
n | the number of rows in the block |
Example:
Output:
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 432 of file BlockMethods.h.