|
NiHu
2.0
|
implementation of a block matrix More...
Go to the source code of this file.
Classes | |
| class | NiHu::matrix_block< Matrix, RowIndex, ColIndex > |
| Proxy class to represent a block of a matrix. More... | |
Functions | |
| template<class Matrix , class RowIndex , class ColIndex > | |
| matrix_block< Matrix, RowIndex, ColIndex > | NiHu::block (Matrix &matrix, RowIndex const &rows, ColIndex const &cols) |
| Factory function of matrix_block. More... | |
implementation of a block matrix
Definition in file matrix_block.hpp.
| matrix_block<Matrix, RowIndex, ColIndex> NiHu::block | ( | Matrix & | matrix, |
| RowIndex const & | rows, | ||
| ColIndex const & | cols | ||
| ) |
Factory function of matrix_block.
| Matrix | The matrix type |
| RowIndex | Row index vector type |
| ColIndex | Column index vector type |
| [in] | matrix | The matrix object to index |
| [in] | rows | Rows to be selected |
| [in] | cols | Columns to be selected |
The function allows easy creation of block instances of an arbitrary matrix object.
Definition at line 90 of file matrix_block.hpp.