Public Member Functions | Protected Attributes | Friends

FullMatrix< number >::Accessor Class Reference

List of all members.

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

Detailed Description

template<typename number>
class FullMatrix< number >::Accessor

Accessor class for iterators

Definition at line 97 of file full_matrix.h.


Constructor & Destructor Documentation

template<typename number>
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.


Member Function Documentation

template<typename number>
unsigned int FullMatrix< number >::Accessor::row (  ) const

Row number of the element represented by this object.

template<typename number>
unsigned int FullMatrix< number >::Accessor::column (  ) const

Column number of the element represented by this object.

template<typename number>
number FullMatrix< number >::Accessor::value (  ) const

Value of this matrix entry.


Friends And Related Function Documentation

template<typename number>
friend class const_iterator [friend]

Definition at line 149 of file full_matrix.h.


Member Data Documentation

template<typename number>
const FullMatrix<number>* FullMatrix< number >::Accessor::matrix [protected]

The matrix accessed.

Definition at line 133 of file full_matrix.h.

template<typename number>
unsigned int FullMatrix< number >::Accessor::a_row [protected]

Current row number.

Definition at line 138 of file full_matrix.h.

template<typename number>
unsigned short FullMatrix< number >::Accessor::a_col [protected]

Current column number.

Definition at line 143 of file full_matrix.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Fri Feb 3 2012 06:04:08 by doxygen 1.7.2