Provides access to an iterator over an arbitrary subset of matrix rows. More...
#include <dune/istl/supermatrix.hh>
Classes | |
class | const_iterator |
Public Types | |
typedef M | Matrix |
typedef S | RowIndexSet |
Public Member Functions | |
MatrixRowSubset (const Matrix &m, const RowIndexSet &s) | |
Construct an row set over all matrix rows. | |
const Matrix & | matrix () const |
const RowIndexSet & | rowIndexSet () const |
const_iterator | begin () const |
const_iterator | end () const |
Provides access to an iterator over an arbitrary subset of matrix rows.
M | The type of the matrix. | |
S | the type of the set of valid row indices. |
typedef M Dune::MatrixRowSubset< M, S >::Matrix |
typedef S Dune::MatrixRowSubset< M, S >::RowIndexSet |
Dune::MatrixRowSubset< M, S >::MatrixRowSubset | ( | const Matrix & | m, | |
const RowIndexSet & | s | |||
) | [inline] |
Construct an row set over all matrix rows.
m | The matrix for which we manage the rows. + | |
s | The set of row indices we manage. |
const_iterator Dune::MatrixRowSubset< M, S >::begin | ( | ) | const [inline] |
References Dune::Matrix< T, A >::begin().
Referenced by Dune::copyToSuperMatrix().
const_iterator Dune::MatrixRowSubset< M, S >::end | ( | ) | const [inline] |
References Dune::Matrix< T, A >::begin().
Referenced by Dune::copyToSuperMatrix().
const Matrix& Dune::MatrixRowSubset< M, S >::matrix | ( | ) | const [inline] |
Referenced by Dune::copyToSuperMatrix().
const RowIndexSet& Dune::MatrixRowSubset< M, S >::rowIndexSet | ( | ) | const [inline] |
Referenced by Dune::copyToSuperMatrix().