Reference documentation for deal.II version 8.5.1
|
#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 |
unsigned short | a_col |
Accessor class for iterators
Definition at line 99 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 129 of file full_matrix.h.
|
protected |
Current row number.
Definition at line 134 of file full_matrix.h.
|
protected |
Current column number.
Definition at line 139 of file full_matrix.h.