Public Member Functions | |
| Accessor (const FullMatrix< number > *matrix, const unsigned int row, const unsigned int col) | |
| unsigned int | row () const |
| unsigned int | column () const |
| number | value () const |
Protected Attributes | |
| const FullMatrix< number > * | matrix |
| unsigned int | a_row |
| unsigned short | a_col |
Friends | |
| class | const_iterator |
Accessor class for iterators
Definition at line 97 of file full_matrix.h.
| FullMatrix< number >::Accessor::Accessor | ( | const FullMatrix< number > * | matrix, |
| const unsigned int | row, | ||
| const unsigned int | col | ||
| ) |
Constructor. Since we use accessors only for read access, a const matrix pointer is sufficient.
| unsigned int FullMatrix< number >::Accessor::row | ( | ) | const |
Row number of the element represented by this object.
| unsigned int 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.
friend class const_iterator [friend] |
Definition at line 149 of file full_matrix.h.
const FullMatrix<number>* FullMatrix< number >::Accessor::matrix [protected] |
The matrix accessed.
Definition at line 133 of file full_matrix.h.
unsigned int FullMatrix< number >::Accessor::a_row [protected] |
Current row number.
Definition at line 138 of file full_matrix.h.
unsigned short FullMatrix< number >::Accessor::a_col [protected] |
Current column number.
Definition at line 143 of file full_matrix.h.
documentation generated on Fri Feb 3 2012 06:04:08 by
doxygen
1.7.2