Go to the source code of this file.
Classes | |
struct | NColsBlockXpr< N > |
struct | ConstNColsBlockXpr< N > |
struct | NRowsBlockXpr< N > |
struct | ConstNRowsBlockXpr< N > |
Typedefs | |
typedef Block< Derived, internal::traits< Derived > ::RowsAtCompileTime, 1,!IsRowMajor > | ColXpr |
typedef const Block< const Derived, internal::traits < Derived >::RowsAtCompileTime, 1,!IsRowMajor > | ConstColXpr |
typedef Block< Derived, 1, internal::traits< Derived > ::ColsAtCompileTime, IsRowMajor > | RowXpr |
typedef const Block< const Derived, 1, internal::traits < Derived >::ColsAtCompileTime, IsRowMajor > | ConstRowXpr |
typedef Block< Derived, internal::traits< Derived > ::RowsAtCompileTime, Dynamic,!IsRowMajor > | ColsBlockXpr |
typedef const Block< const Derived, internal::traits < Derived >::RowsAtCompileTime, Dynamic,!IsRowMajor > | ConstColsBlockXpr |
typedef Block< Derived, Dynamic, internal::traits < Derived >::ColsAtCompileTime, IsRowMajor > | RowsBlockXpr |
typedef const Block< const Derived, Dynamic, internal::traits< Derived > ::ColsAtCompileTime, IsRowMajor > | ConstRowsBlockXpr |
Functions | |
Block< Derived > | block (Index startRow, Index startCol, Index blockRows, Index blockCols) |
Block< Derived > | topRightCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
Block< Derived, CRows, CCols > | topRightCorner () |
Block< Derived > | topLeftCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
Block< Derived, CRows, CCols > | topLeftCorner () |
Block< Derived > | bottomRightCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
Block< Derived, CRows, CCols > | bottomRightCorner () |
Block< Derived > | bottomLeftCorner (Index cRows, Index cCols) |
template<int CRows, int CCols> | |
Block< Derived, CRows, CCols > | bottomLeftCorner () |
RowsBlockXpr | topRows (Index n) |
template<int N> | |
NRowsBlockXpr< N >::Type | topRows () |
RowsBlockXpr | bottomRows (Index n) |
template<int N> | |
NRowsBlockXpr< N >::Type | bottomRows () |
RowsBlockXpr | middleRows (Index startRow, Index numRows) |
template<int N> | |
NRowsBlockXpr< N >::Type | middleRows (Index startRow) |
ColsBlockXpr | leftCols (Index n) |
template<int N> | |
NColsBlockXpr< N >::Type | leftCols () |
ColsBlockXpr | rightCols (Index n) |
template<int N> | |
NColsBlockXpr< N >::Type | rightCols () |
ColsBlockXpr | middleCols (Index startCol, Index numCols) |
template<int N> | |
NColsBlockXpr< N >::Type | middleCols (Index startCol) |
template<int BlockRows, int BlockCols> | |
Block< Derived, BlockRows, BlockCols > | block (Index startRow, Index startCol) |
ColXpr | col (Index i) |
RowXpr | row (Index i) |
typedef Block<Derived, internal::traits<Derived>::RowsAtCompileTime, Dynamic, !IsRowMajor> ColsBlockXpr |
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 Block<Derived, Dynamic, internal::traits<Derived>::ColsAtCompileTime, IsRowMajor> RowsBlockXpr |
const Block< const Derived > 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).
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).
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>().
const Block< const Derived > 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).
const Block< const Derived > 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).
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>().
ConstRowsBlockXpr bottomRows | ( | Index | n | ) | [inline] |
n | the number of rows in the block |
Example:
Output:
This is the const version of bottomRows(Index).
ConstNRowsBlockXpr< N >::Type bottomRows | ( | ) | [inline] |
N | the number of rows in the block |
Example:
Output:
This is the const version of bottomRows<int>().
ConstColXpr col | ( | Index | i | ) | [inline] |
ConstColsBlockXpr leftCols | ( | Index | n | ) | [inline] |
n | the number of columns in the block |
Example:
Output:
This is the const version of leftCols(Index).
ConstNColsBlockXpr< N >::Type leftCols | ( | ) | [inline] |
N | the number of columns in the block |
Example:
Output:
This is the const version of leftCols<int>().
ConstNColsBlockXpr< N >::Type middleCols | ( | Index | startCol | ) | [inline] |
N | the number of columns in the block |
startCol | the index of the first column in the block |
Example:
Output:
This is the const version of middleCols<int>().
ConstColsBlockXpr middleCols | ( | Index | startCol, | |
Index | numCols | |||
) | [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).
ConstRowsBlockXpr middleRows | ( | Index | startRow, | |
Index | numRows | |||
) | [inline] |
startRow | the index of the first row in the block | |
numRows | the number of rows in the block |
Example:
Output:
This is the const version of middleRows(Index,Index).
ConstNRowsBlockXpr< N >::Type middleRows | ( | Index | startRow | ) | [inline] |
N | the number of rows in the block |
startRow | the index of the first row in the block |
Example:
Output:
This is the const version of middleRows<int>().
ConstColsBlockXpr rightCols | ( | Index | n | ) | [inline] |
n | the number of columns in the block |
Example:
Output:
This is the const version of rightCols(Index).
ConstNColsBlockXpr< N >::Type rightCols | ( | ) | [inline] |
N | the number of columns in the block |
Example:
Output:
This is the const version of rightCols<int>().
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>().
const Block< const Derived > 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).
const Block< const Derived > 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).
const Block< const Derived, CRows, CCols > topRightCorner | ( | ) | [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 topRightCorner<int, int>().
ConstRowsBlockXpr topRows | ( | Index | n | ) | [inline] |
n | the number of rows in the block |
Example:
Output:
This is the const version of topRows(Index).
ConstNRowsBlockXpr< N >::Type topRows | ( | ) | [inline] |
N | the number of rows in the block |
Example:
Output:
This is the const version of topRows<int>().