Go to the source code of this file.
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) |
template<int N> | |
NRowsBlockXpr< N >::Type | bottomRows () |
ColXpr | col (Index i) |
ColsBlockXpr | leftCols (Index n) |
template<int N> | |
NColsBlockXpr< N >::Type | leftCols () |
ColsBlockXpr | middleCols (Index startCol, Index numCols) |
template<int N> | |
NColsBlockXpr< N >::Type | middleCols (Index startCol) |
RowsBlockXpr | middleRows (Index startRow, Index numRows) |
template<int N> | |
NRowsBlockXpr< N >::Type | middleRows (Index startRow) |
ColsBlockXpr | rightCols (Index n) |
template<int N> | |
NColsBlockXpr< N >::Type | rightCols () |
RowXpr | row (Index i) |
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) |
template<int N> | |
NRowsBlockXpr< N >::Type | topRows () |
|
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:
Here is the matrix m: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is m.block(1, 1, 2, 2): -6 1 -3 0 Now the matrix m is: 7 9 -5 -3 -2 0 0 0 6 0 0 9 6 6 3 9
This is the const version of block(Index,Index,Index,Index).
Referenced by CommaInitializer< XprType >::operator,().
|
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:
Here is the matrix m: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is m.block<2,2>(1,1): -6 1 -3 0 Now the matrix m is: 7 9 -5 -3 -2 0 0 0 6 0 0 9 6 6 3 9
This is the const version of block<>(Index, Index).
|
inline |
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
Here is the matrix m: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is m.bottomLeftCorner(2, 2): 6 -3 6 6 Now the matrix m is: 7 9 -5 -3 -2 -6 1 0 0 0 0 9 0 0 3 9
This is the const version of bottomLeftCorner(Index, Index).
|
inline |
The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
Here is the matrix m: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is m.bottomLeftCorner<2,2>(): 6 -3 6 6 Now the matrix m is: 7 9 -5 -3 -2 -6 1 0 0 0 0 9 0 0 3 9
This is the const version of bottomLeftCorner<int, int>().
|
inline |
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
Here is the matrix m: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is m.bottomRightCorner(2, 2): 0 9 3 9 Now the matrix m is: 7 9 -5 -3 -2 -6 1 0 6 -3 0 0 6 6 0 0
This is the const version of bottomRightCorner(Index, Index).
|
inline |
The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
Here is the matrix m: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is m.bottomRightCorner<2,2>(): 0 9 3 9 Now the matrix m is: 7 9 -5 -3 -2 -6 1 0 6 -3 0 0 6 6 0 0
This is the const version of bottomRightCorner<int, int>().
|
inline |
n | the number of rows in the block |
Example:
Output:
Here is the array a: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is a.bottomRows(2): 6 -3 0 9 6 6 3 9 Now the array a is: 7 9 -5 -3 -2 -6 1 0 0 0 0 0 0 0 0 0
This is the const version of bottomRows(Index).
|
inline |
N | the number of rows in the block |
Example:
Output:
Here is the array a: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is a.bottomRows<2>(): 6 -3 0 9 6 6 3 9 Now the array a is: 7 9 -5 -3 -2 -6 1 0 0 0 0 0 0 0 0 0
This is the const version of bottomRows<int>().
|
inline |
Example:
Output:
1 4 0 0 5 0 0 6 1
This is the const version of col().
Referenced by MatrixBase< Derived >::applyHouseholderOnTheRight(), MatrixBase< Derived >::applyOnTheRight(), Reverse< MatrixType, Direction >::coeff(), ProductBase< SelfadjointProductMatrix< Lhs, LhsMode, false, Rhs, RhsMode, false >, Lhs, Rhs >::coeff(), CoeffBasedProduct< LhsNested, RhsNested, NestingFlags >::coeff(), Reverse< MatrixType, Direction >::coeffRef(), SwapWrapper< ExpressionType >::copyPacket(), SelfCwiseBinaryOp< BinaryOp, Lhs, Rhs >::copyPacket(), IncompleteLUT< _Scalar >::keep_diag::operator()(), SimplicialCholeskyBase< Derived >::keep_diag::operator()(), ForceAlignedAccess< ExpressionType >::packet(), NestByValue< ExpressionType >::packet(), Reverse< MatrixType, Direction >::packet(), TransposeImpl< MatrixType, Dense >::packet(), DenseCoeffsBase< Derived, ReadOnlyAccessors >::packet(), ForceAlignedAccess< ExpressionType >::writePacket(), NestByValue< ExpressionType >::writePacket(), Reverse< MatrixType, Direction >::writePacket(), TransposeImpl< MatrixType, Dense >::writePacket(), and DenseCoeffsBase< Derived, WriteAccessors >::writePacket().
|
inline |
n | the number of columns in the block |
Example:
Output:
Here is the array a: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is a.leftCols(2): 7 9 -2 -6 6 -3 6 6 Now the array a is: 0 0 -5 -3 0 0 1 0 0 0 0 9 0 0 3 9
This is the const version of leftCols(Index).
|
inline |
N | the number of columns in the block |
Example:
Output:
Here is the array a: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is a.leftCols<2>(): 7 9 -2 -6 6 -3 6 6 Now the array a is: 0 0 -5 -3 0 0 1 0 0 0 0 9 0 0 3 9
This is the const version of leftCols<int>().
|
inline |
startCol | the index of the first column in the block |
numCols | the number of columns in the block |
Example:
Output:
A = 7 -6 0 9 -10 -2 -3 3 3 -5 6 6 -3 5 -8 6 -5 0 -8 6 9 1 9 2 -7 A(1..3,:) = -6 0 9 -3 3 3 6 -3 5 -5 0 -8 1 9 2
This is the const version of middleCols(Index,Index).
|
inline |
N | the number of columns in the block |
startCol | the index of the first column in the block |
Example:
Output:
A = 7 -6 0 9 -10 -2 -3 3 3 -5 6 6 -3 5 -8 6 -5 0 -8 6 9 1 9 2 -7 A(:,1..3) = -6 0 9 -3 3 3 6 -3 5 -5 0 -8 1 9 2
This is the const version of middleCols<int>().
|
inline |
startRow | the index of the first row in the block |
numRows | the number of rows in the block |
Example:
Output:
A = 7 -6 0 9 -10 -2 -3 3 3 -5 6 6 -3 5 -8 6 -5 0 -8 6 9 1 9 2 -7 A(2..3,:) = 6 6 -3 5 -8 6 -5 0 -8 6
This is the const version of middleRows(Index,Index).
|
inline |
N | the number of rows in the block |
startRow | the index of the first row in the block |
Example:
Output:
A = 7 -6 0 9 -10 -2 -3 3 3 -5 6 6 -3 5 -8 6 -5 0 -8 6 9 1 9 2 -7 A(1..3,:) = -2 -3 3 3 -5 6 6 -3 5 -8 6 -5 0 -8 6
This is the const version of middleRows<int>().
|
inline |
n | the number of columns in the block |
Example:
Output:
Here is the array a: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is a.rightCols(2): -5 -3 1 0 0 9 3 9 Now the array a is: 7 9 0 0 -2 -6 0 0 6 -3 0 0 6 6 0 0
This is the const version of rightCols(Index).
|
inline |
N | the number of columns in the block |
Example:
Output:
Here is the array a: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is a.rightCols<2>(): -5 -3 1 0 0 9 3 9 Now the array a is: 7 9 0 0 -2 -6 0 0 6 -3 0 0 6 6 0 0
This is the const version of rightCols<int>().
|
inline |
Example:
Output:
1 0 0 4 5 6 0 0 1
This is the const version of row().
Referenced by MatrixBase< Derived >::applyHouseholderOnTheLeft(), MatrixBase< Derived >::applyOnTheLeft(), Reverse< MatrixType, Direction >::coeff(), CoeffBasedProduct< LhsNested, RhsNested, NestingFlags >::coeff(), Reverse< MatrixType, Direction >::coeffRef(), SwapWrapper< ExpressionType >::copyPacket(), SelfCwiseBinaryOp< BinaryOp, Lhs, Rhs >::copyPacket(), ForceAlignedAccess< ExpressionType >::packet(), NestByValue< ExpressionType >::packet(), Reverse< MatrixType, Direction >::packet(), TransposeImpl< MatrixType, Dense >::packet(), DenseCoeffsBase< Derived, ReadOnlyAccessors >::packet(), IncompleteLUT< _Scalar >::QuickSplit(), ForceAlignedAccess< ExpressionType >::writePacket(), NestByValue< ExpressionType >::writePacket(), Reverse< MatrixType, Direction >::writePacket(), TransposeImpl< MatrixType, Dense >::writePacket(), and DenseCoeffsBase< Derived, WriteAccessors >::writePacket().
|
inline |
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
Here is the matrix m: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is m.topLeftCorner(2, 2): 7 9 -2 -6 Now the matrix m is: 0 0 -5 -3 0 0 1 0 6 -3 0 9 6 6 3 9
This is the const version of topLeftCorner(Index, Index).
|
inline |
The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
Here is the matrix m: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is m.topLeftCorner<2,2>(): 7 9 -2 -6 Now the matrix m is: 0 0 -5 -3 0 0 1 0 6 -3 0 9 6 6 3 9
This is the const version of topLeftCorner<int, int>().
|
inline |
cRows | the number of rows in the corner |
cCols | the number of columns in the corner |
Example:
Output:
Here is the matrix m: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is m.topRightCorner(2, 2): -5 -3 1 0 Now the matrix m is: 7 9 0 0 -2 -6 0 0 6 -3 0 9 6 6 3 9
This is the const version of topRightCorner(Index, Index).
|
inline |
The template parameters CRows and CCols are the number of rows and columns in the corner.
Example:
Output:
Here is the matrix m: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is m.topRightCorner<2,2>(): -5 -3 1 0 Now the matrix m is: 7 9 0 0 -2 -6 0 0 6 -3 0 9 6 6 3 9
This is the const version of topRightCorner<int, int>().
|
inline |
n | the number of rows in the block |
Example:
Output:
Here is the array a: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is a.topRows(2): 7 9 -5 -3 -2 -6 1 0 Now the array a is: 0 0 0 0 0 0 0 0 6 -3 0 9 6 6 3 9
This is the const version of topRows(Index).
|
inline |
N | the number of rows in the block |
Example:
Output:
Here is the array a: 7 9 -5 -3 -2 -6 1 0 6 -3 0 9 6 6 3 9 Here is a.topRows<2>(): 7 9 -5 -3 -2 -6 1 0 Now the array a is: 0 0 0 0 0 0 0 0 6 -3 0 9 6 6 3 9
This is the const version of topRows<int>().