template<typename MatrixType, bool isConst = false>
class gismo::gsMatrixBlockView< MatrixType, isConst >
Represents a block-view of the given matrix.
The blocks are references to the matrix segments. Each block can be seen a a standalone matrix.
- Template Parameters
-
|
template<typename OtherDerived > |
void | assign (index_t i, index_t j, const gsEigen::EigenBase< OtherDerived > &other) |
| Overwrites the contents of block (i,j) with matrix other.
|
|
| gsMatrixBlockView (MatrixType &matrix, const Vector_t &rowSizes, const Vector_t &colSizes) |
| Creates a block-view of the given matrix. More...
|
|
| gsMatrixBlockView (MatrixType &matrix, const Vector_t &rowSizes) |
| Creates a block-view of the given matrix, using only one column piece. More...
|
|
| gsMatrixBlockView (const MatrixType &matrix) |
| Combatibility constuctor giving the matrix as a block.
|
|
| gsMatrixBlockView (const gsMatrixBlockView &other) |
| Copy constructor.
|
|
size_t | numBlocks () const |
| Returns the number of blocks.
|
|
size_t | numColBlocks () const |
| Returns the number of col-blocks.
|
|
size_t | numRowBlocks () const |
| Returns the number of row-blocks.
|
|
block_t & | operator() (index_t i, index_t j=0) const |
| Returns the block indexed i (row) and j (column)
|
|