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 |
| 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] |
const FullMatrix<number>* FullMatrix< number >::Accessor::matrix [protected] |
The matrix accessed.
unsigned int FullMatrix< number >::Accessor::a_row [protected] |
Current row number.
unsigned short FullMatrix< number >::Accessor::a_col [protected] |
Current column number.
documentation generated on Wed Sep 8 23:06:22 2010 by
doxygen
1.5.6