|
dune-common 2.10
|
Generic iterator class for dense vector and matrix implementations. More...
#include <dune/common/densevector.hh>

Public Types | |
| typedef std::ptrdiff_t | DifferenceType |
| The type of the difference between two positions. | |
| typedef C::size_type | SizeType |
| The type to index the underlying container. | |
| using | iterator_category = std::random_access_iterator_tag |
| using | value_type = typename std::remove_const< V >::type |
| using | difference_type = D |
| using | pointer = V * |
| using | reference = R |
| typedef T | DerivedType |
| The type of derived iterator. | |
| typedef V | Value |
| The type of value accessed through the iterator. | |
| typedef V * | Pointer |
| The pointer to the Value. | |
| typedef R | Reference |
| The type of the reference to the values accessed. | |
Detailed Description
class Dune::DenseIterator< C, T, R >
Generic iterator class for dense vector and matrix implementations.
provides sequential access to DenseVector, FieldVector and FieldMatrix
Member Typedef Documentation
◆ DerivedType
|
inherited |
The type of derived iterator.
The iterator has to define following functions have to be present:
For an elaborate explanation see the STL Documentation
◆ difference_type
|
inherited |
◆ DifferenceType
| typedef std::ptrdiff_t Dune::DenseIterator< C, T, R >::DifferenceType |
The type of the difference between two positions.
◆ iterator_category
|
inherited |
◆ pointer
|
inherited |
◆ Pointer
|
inherited |
The pointer to the Value.
◆ reference
|
inherited |
◆ Reference
|
inherited |
The type of the reference to the values accessed.
◆ SizeType
| typedef C::size_type Dune::DenseIterator< C, T, R >::SizeType |
The type to index the underlying container.
◆ Value
|
inherited |
The type of value accessed through the iterator.
◆ value_type
|
inherited |
Constructor & Destructor Documentation
◆ DenseIterator() [1/4]
|
inline |
◆ DenseIterator() [2/4]
|
inline |
◆ DenseIterator() [3/4]
|
inline |
◆ DenseIterator() [4/4]
|
inline |
Member Function Documentation
◆ advance()
|
inline |
◆ decrement()
|
inline |
◆ dereference()
|
inline |
◆ distanceTo() [1/2]
|
inline |
◆ distanceTo() [2/2]
|
inline |
◆ elementAt()
|
inline |
◆ equals() [1/2]
|
inline |
◆ equals() [2/2]
|
inline |
◆ increment()
|
inline |
◆ index()
|
inline |
return index
◆ operator*()
|
inlineinherited |
Dereferencing operator.
◆ operator+()
|
inlineinherited |
◆ operator++() [1/2]
|
inlineinherited |
Preincrement operator.
◆ operator++() [2/2]
|
inlineinherited |
Postincrement operator.
◆ operator+=()
|
inlineinherited |
◆ operator-()
|
inlineinherited |
◆ operator--() [1/2]
|
inlineinherited |
Predecrement operator.
◆ operator--() [2/2]
|
inlineinherited |
Postdecrement operator.
◆ operator-=()
|
inlineinherited |
◆ operator->()
|
inlineinherited |
◆ operator[]()
|
inlineinherited |
Get the element n positions from the current one.
- Parameters
-
n The distance to the element.
- Returns
- The element at that distance.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8