Const sub-block type. More...
#include <MatrixSpace.H>
Public Member Functions | |
| ConstBlock (const msType &matrix) | |
| Construct for the given matrix. | |
| SubTensor | operator() () const |
| Construct and return the sub-tensor corresponding to this block. | |
| const Cmpt & | operator() (const direction i, const direction j) const |
| (i, j) const element access operator | |
Static Public Member Functions | |
| static direction | m () noexcept |
| Return the number of rows in the block. | |
| static direction | n () noexcept |
| Return the number of columns in the block. | |
Static Public Attributes | |
| static const direction | mRows = SubTensor::mRows |
| static const direction | nCols = SubTensor::nCols |
Const sub-block type.
Definition at line 98 of file MatrixSpace.H.
|
inline |
Construct for the given matrix.
Definition at line 78 of file MatrixSpaceI.H.
References mRows, and MatrixSpace< Form, Cmpt, Mrows, Ncols >::mRows.
|
inlinestaticnoexcept |
Return the number of rows in the block.
Definition at line 113 of file MatrixSpace.H.
References mRows, and Foam::noexcept.
|
inlinestaticnoexcept |
Return the number of columns in the block.
Definition at line 118 of file MatrixSpace.H.
References nCols, and Foam::noexcept.
|
inline |
Construct and return the sub-tensor corresponding to this block.
Definition at line 250 of file MatrixSpaceI.H.
|
inline |
(i, j) const element access operator
Definition at line 261 of file MatrixSpaceI.H.
|
static |
Definition at line 107 of file MatrixSpace.H.
Referenced by ConstBlock(), and m().
|
static |
Definition at line 108 of file MatrixSpace.H.
Referenced by n().