Reference documentation for deal.II version 8.5.1
Public Member Functions | Private Attributes | List of all members
FullMatrix< number >::const_iterator Class Reference

#include <deal.II/lac/full_matrix.h>

Public Member Functions

 const_iterator (const FullMatrix< number > *matrix, const size_type row, const size_type col)
 
const_iteratoroperator++ ()
 
const_iteratoroperator++ (int)
 
const Accessoroperator* () const
 
const Accessoroperator-> () const
 
bool operator== (const const_iterator &) const
 
bool operator!= (const const_iterator &) const
 
bool operator< (const const_iterator &) const
 
bool operator> (const const_iterator &) const
 

Private Attributes

Accessor accessor
 

Detailed Description

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

Standard-conforming iterator.

Definition at line 150 of file full_matrix.h.

Constructor & Destructor Documentation

◆ const_iterator()

template<typename number>
FullMatrix< number >::const_iterator::const_iterator ( const FullMatrix< number > *  matrix,
const size_type  row,
const size_type  col 
)

Constructor.

Member Function Documentation

◆ operator++() [1/2]

template<typename number>
const_iterator& FullMatrix< number >::const_iterator::operator++ ( )

Prefix increment.

◆ operator++() [2/2]

template<typename number>
const_iterator& FullMatrix< number >::const_iterator::operator++ ( int  )

Postfix increment.

◆ operator*()

template<typename number>
const Accessor& FullMatrix< number >::const_iterator::operator* ( ) const

Dereferencing operator.

◆ operator->()

template<typename number>
const Accessor* FullMatrix< number >::const_iterator::operator-> ( ) const

Dereferencing operator.

◆ operator==()

template<typename number>
bool FullMatrix< number >::const_iterator::operator== ( const const_iterator ) const

Comparison. True, if both iterators point to the same matrix position.

◆ operator!=()

template<typename number>
bool FullMatrix< number >::const_iterator::operator!= ( const const_iterator ) const

Inverse of ==.

◆ operator<()

template<typename number>
bool FullMatrix< number >::const_iterator::operator< ( const const_iterator ) const

Comparison operator. Result is true if either the first row number is smaller or if the row numbers are equal and the first index is smaller.

◆ operator>()

template<typename number>
bool FullMatrix< number >::const_iterator::operator> ( const const_iterator ) const

Comparison operator. Compares just the other way around than the operator above.

Member Data Documentation

◆ accessor

template<typename number>
Accessor FullMatrix< number >::const_iterator::accessor
private

Store an object of the accessor class.

Definition at line 205 of file full_matrix.h.


The documentation for this class was generated from the following file: