Go to the source code of this file.
Classes | |
struct | ConstFixedSegmentReturnType< Size > |
struct | ConstNColsBlockXpr< N > |
struct | ConstNRowsBlockXpr< N > |
struct | FixedSegmentReturnType< Size > |
struct | NColsBlockXpr< N > |
struct | NRowsBlockXpr< N > |
Typedefs | |
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, 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 | |
Block< Derived > | block (Index startRow, Index startCol, Index blockRows, Index blockCols) |
template<int BlockRows, int BlockCols> | |
Block< Derived, BlockRows, BlockCols > | block (Index startRow, Index startCol) |
Block< Derived > | bottomLeftCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
Block< Derived, CRows, CCols > | bottomLeftCorner () |
Block< Derived > | bottomRightCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
Block< Derived, CRows, CCols > | bottomRightCorner () |
RowsBlockXpr | bottomRows (Index n) |
ColXpr | col (Index i) |
SegmentReturnType | head (Index n) |
ColsBlockXpr | leftCols (Index n) |
ColsBlockXpr | middleCols (Index startCol, Index numCols) |
RowsBlockXpr | middleRows (Index startRow, Index n) |
ColsBlockXpr | rightCols (Index n) |
RowXpr | row (Index i) |
SegmentReturnType | segment (Index start, Index n) |
SegmentReturnType | tail (Index n) |
Block< Derived > | topLeftCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
Block< Derived, CRows, CCols > | topLeftCorner () |
Block< Derived > | topRightCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
Block< Derived, CRows, CCols > | topRightCorner () |
RowsBlockXpr | topRows (Index n) |
typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBlockXpr |
Definition at line 21 of file BlockMethods.h.
typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ColXpr |
Definition at line 15 of file BlockMethods.h.
typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ConstColsBlockXpr |
Definition at line 22 of file BlockMethods.h.
typedef const Block<const Derived, internal::traits<Derived>::RowsAtCompileTime, 1, !IsRowMajor> ConstColXpr |
Definition at line 16 of file BlockMethods.h.
typedef const Block<const Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowsBlockXpr |
Definition at line 25 of file BlockMethods.h.
typedef const Block<const Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> ConstRowXpr |
Definition at line 19 of file BlockMethods.h.
typedef const VectorBlock<const Derived> ConstSegmentReturnType |
Definition at line 34 of file BlockMethods.h.
typedef Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlockXpr |
Definition at line 24 of file BlockMethods.h.
typedef Block<Derived, 1, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowXpr |
Definition at line 18 of file BlockMethods.h.
typedef VectorBlock<Derived> SegmentReturnType |
Definition at line 33 of file BlockMethods.h.
const Block< const Derived, BlockRows, BlockCols > block | ( | Index | startRow, |
Index | startCol, | ||
Index | blockRows, | ||
Index | blockCols | ||
) | [inline] |
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:
This is the const version of block(Index,Index,Index,Index).
BlockRows | number of rows in block as specified at compile-time |
BlockCols | 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 BlockRows unless BlockRows is Dynamic, and the same for the number of columns.
Example:
Output:
This is the const version of block<>(Index, Index, Index, Index).
Definition at line 56 of file BlockMethods.h.
const Block< const Derived, BlockRows, BlockCols > block | ( | Index | startRow, |
Index | startCol | ||
) | [inline] |
The template parameters BlockRows and BlockCols 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:
m.template block<3,3>(1,1);
This is the const version of block<>(Index, Index).
Definition at line 680 of file BlockMethods.h.
const Block< const Derived, CRows, CCols > bottomLeftCorner | ( | Index | cRows, |
Index | cCols | ||
) | [inline] |
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
This is the const version of bottomLeftCorner(Index, Index).
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:
This is the const version of bottomLeftCorner<int, int>(Index, Index).
Definition at line 306 of file BlockMethods.h.
const Block< const Derived, CRows, CCols > bottomLeftCorner | ( | ) | [inline] |
The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
This is the const version of bottomLeftCorner<int, int>().
Definition at line 327 of file BlockMethods.h.
const Block< const Derived, CRows, CCols > bottomRightCorner | ( | Index | cRows, |
Index | cCols | ||
) | [inline] |
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
This is the const version of bottomRightCorner(Index, Index).
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:
This is the const version of bottomRightCorner<int, int>(Index, Index).
Definition at line 231 of file BlockMethods.h.
const Block< const Derived, CRows, CCols > bottomRightCorner | ( | ) | [inline] |
The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
This is the const version of bottomRightCorner<int, int>().
Definition at line 252 of file BlockMethods.h.
ConstNRowsBlockXpr< N >::Type bottomRows | ( | Index | n = N | ) | [inline] |
n | the number of rows in the block |
Example:
Output:
This is the const version of bottomRows(Index).
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:
This is the const version of bottomRows<int>().
Definition at line 428 of file BlockMethods.h.
ConstColXpr col | ( | Index | i | ) | [inline] |
Example:
Output:
This is the const version of col().
Definition at line 732 of file BlockMethods.h.
ConstFixedSegmentReturnType< N >::Type head | ( | Index | n = N | ) | [inline] |
n | the number of coefficients in the segment |
Example:
Output:
This is the const version of head(Index).
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:
This is the const version of head<int>().
Definition at line 805 of file BlockMethods.h.
ConstNColsBlockXpr< N >::Type leftCols | ( | Index | n = N | ) | [inline] |
n | the number of columns in the block |
Example:
Output:
This is the const version of leftCols(Index).
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:
This is the const version of leftCols<int>().
Definition at line 526 of file BlockMethods.h.
ConstNColsBlockXpr< N >::Type middleCols | ( | Index | startCol, |
Index | n = N |
||
) | [inline] |
startCol | the index of the first column in the block |
numCols | the number of columns in the block |
Example:
Output:
This is the const version of middleCols(Index,Index).
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:
This is the const version of middleCols<int>().
Definition at line 623 of file BlockMethods.h.
ConstNRowsBlockXpr< N >::Type middleRows | ( | Index | startRow, |
Index | n = N |
||
) | [inline] |
startRow | the index of the first row in the block |
n | the number of rows in the block |
Example:
Output:
This is the const version of middleRows(Index,Index).
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:
This is the const version of middleRows<int>().
Definition at line 477 of file BlockMethods.h.
ConstNColsBlockXpr< N >::Type rightCols | ( | Index | n = N | ) | [inline] |
n | the number of columns in the block |
Example:
Output:
This is the const version of rightCols(Index).
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:
This is the const version of rightCols<int>().
Definition at line 574 of file BlockMethods.h.
Example:
Output:
This is the const version of row().
Definition at line 749 of file BlockMethods.h.
ConstFixedSegmentReturnType< N >::Type segment | ( | Index | start, |
Index | n = N |
||
) | [inline] |
start | the first coefficient in the segment |
n | the number of coefficients in the segment |
Example:
Output:
This is the const version of segment(Index,Index).
*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:
This is the const version of segment<int>(Index).
Definition at line 776 of file BlockMethods.h.
ConstFixedSegmentReturnType< N >::Type tail | ( | Index | n = N | ) | [inline] |
n | the number of coefficients in the segment |
Example:
Output:
This is the const version of tail(Index).
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:
This is the const version of tail<int>.
Definition at line 833 of file BlockMethods.h.
const Block< const Derived, CRows, CCols > topLeftCorner | ( | Index | cRows, |
Index | cCols | ||
) | [inline] |
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
This is the const version of topLeftCorner(Index, Index).
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:
This is the const version of topLeftCorner<int, int>(Index, Index).
Definition at line 156 of file BlockMethods.h.
const Block< const Derived, CRows, CCols > topLeftCorner | ( | ) | [inline] |
The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
This is the const version of topLeftCorner<int, int>().
Definition at line 177 of file BlockMethods.h.
const Block< const Derived, CRows, CCols > topRightCorner | ( | Index | cRows, |
Index | cCols | ||
) | [inline] |
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
This is the const version of topRightCorner(Index, Index).
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:
This is the const version of topRightCorner<int, int>(Index, Index).
Definition at line 80 of file BlockMethods.h.
const Block< const Derived, CRows, CCols > topRightCorner | ( | ) | [inline] |
CRows | the number of rows in the corner |
CCols | the number of columns in the corner |
Example:
Output:
This is the const version of topRightCorner<int, int>().
Definition at line 102 of file BlockMethods.h.
ConstNRowsBlockXpr< N >::Type topRows | ( | Index | n = N | ) | [inline] |
n | the number of rows in the block |
Example:
Output:
This is the const version of topRows(Index).
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:
This is the const version of topRows<int>().
Definition at line 380 of file BlockMethods.h.