Loading [MathJax]/extensions/TeX/newcommand.js
 deal.II version GIT relicensing-2985-g0ac3b35548 2025-04-01 13:30:00+00:00
\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}} \newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=} \newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]} \newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
Classes | Public Member Functions | Private Attributes | List of all members
SparseMatrixEZ< number >::const_iterator Class Reference

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

Classes

class  Accessor
 

Public Member Functions

 const_iterator (const SparseMatrixEZ< number > *matrix, const size_type row, const unsigned short index)
 
const_iteratoroperator++ ()
 
const Accessoroperator* () const
 
const Accessoroperator-> () 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 SparseMatrixEZ< number >::const_iterator

Standard-conforming iterator.

Definition at line 180 of file sparse_matrix_ez.h.

Constructor & Destructor Documentation

◆ const_iterator()

template<typename number >
SparseMatrixEZ< number >::const_iterator::const_iterator ( const SparseMatrixEZ< number > *  matrix,
const size_type  row,
const unsigned short  index 
)
inline

Constructor.

Definition at line 990 of file sparse_matrix_ez.h.

Member Function Documentation

◆ operator++()

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

Prefix increment. This always returns a valid entry or end().

Definition at line 1025 of file sparse_matrix_ez.h.

◆ operator*()

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

Dereferencing operator.

Definition at line 1052 of file sparse_matrix_ez.h.

◆ operator->()

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

Dereferencing operator.

Definition at line 1060 of file sparse_matrix_ez.h.

◆ operator==()

template<typename number >
bool SparseMatrixEZ< number >::const_iterator::operator== ( const const_iterator other) const
inline

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

Definition at line 1068 of file sparse_matrix_ez.h.

◆ operator!=()

template<typename number >
bool SparseMatrixEZ< number >::const_iterator::operator!= ( const const_iterator other) const
inline

Inverse of ==.

Definition at line 1078 of file sparse_matrix_ez.h.

◆ operator<()

template<typename number >
bool SparseMatrixEZ< number >::const_iterator::operator< ( const const_iterator other) const
inline

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.

Definition at line 1086 of file sparse_matrix_ez.h.

Member Data Documentation

◆ accessor

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

Store an object of the accessor class.

Definition at line 289 of file sparse_matrix_ez.h.


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