Reference documentation for deal.II version 9.0.0
|
#include <deal.II/lac/full_matrix.h>
Public Member Functions | |
Accessor (const FullMatrix< number > *matrix, const size_type row, const size_type col) | |
size_type | row () const |
size_type | column () const |
number | value () const |
Protected Attributes | |
const FullMatrix< number > * | matrix |
size_type | a_row |
size_type | a_col |
Accessor class for iterators
Definition at line 96 of file full_matrix.h.
FullMatrix< number >::Accessor::Accessor | ( | const FullMatrix< number > * | matrix, |
const size_type | row, | ||
const size_type | col | ||
) |
Constructor. Since we use accessors only for read access, a const matrix pointer is sufficient.
size_type FullMatrix< number >::Accessor::row | ( | ) | const |
Row number of the element represented by this object.
size_type FullMatrix< number >::Accessor::column | ( | ) | const |
Column number of the element represented by this object.
number FullMatrix< number >::Accessor::value | ( | ) | const |
Value of this matrix entry.
|
protected |
The matrix accessed.
Definition at line 126 of file full_matrix.h.
|
protected |
Current row number.
Definition at line 131 of file full_matrix.h.
|
protected |
Current column number.
Definition at line 136 of file full_matrix.h.