58 template<
class MatrixType>
64 const MatrixType& matrix_;
71 const label rowStart_;
72 const label colStart_;
76 typedef typename MatrixType::cmptType
cmptType;
83 const MatrixType& matrix,
115 template<
class MatrixType>
128 const label rowStart_;
129 const label colStart_;
133 typedef typename MatrixType::cmptType
cmptType;
183 template<
class MatrixType2>
187 template<
class MatrixType2>
191 template<
class MSForm, direction Nrows, direction Ncols>
197 template<
class, direction, direction>
class Block,
202 void operator=(
const Block<SubTensor, BRowStart, BColStart>&);
205 template<
class VSForm, direction Ncmpts>
211 template<
class, direction>
class Block,
215 void operator=(
const Block<SubVector, BStart>&);
label n() const
Return the number of columns in the block.
label m() const
Return the number of rows in the block.
MatrixType::cmptType cmptType
ConstMatrixBlock(const MatrixType &matrix, const label m, const label n, const label mStart, const label nStart)
Construct block for matrix, size and location.
Pre-declare SubField and related Field type.
A templated block of an (m x n) matrix of type <MatrixType>.
label n() const
Return the number of columns in the block.
label m() const
Return the number of rows in the block.
void operator=(const Matrix< Form, cmptType > &)
Assignment to a compatible matrix.
MatrixBlock(MatrixType &matrix, const label m, const label n, const label mStart, const label nStart)
Construct block for matrix, size and location.
MatrixType::cmptType cmptType
const cmptType & operator()(const label i, const label j) const
(i, j) const element access operator
A templated (m x n) matrix of objects of <T>.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.