matrixIterator.hh
_Matrix_iterator< _Tp, _Tp &, _Tp * > iterator
Definition: matrixIterator.hh:280
Return Type reference (_Tp&) for non-constant iterator constant copy (const _Tp) for constant iterato...
Definition: matrixIterator.hh:38
std::random_access_iterator_tag iterator_category
Definition: matrixIterator.hh:284
ptrdiff_t difference_type
Definition: matrixIterator.hh:44
const _Tp_ type
Definition: matrixIterator.hh:113
const unsigned int nofCols_
Definition: matrixIterator.hh:91
bool operator>(const _Matrix_iterator_base< _Tp, _Ref, _Ptr > &__x, const _Matrix_iterator_base< _Tp, _Ref, _Ptr > &__y)
Definition: matrixIterator.hh:186
_Matrix_iterator_base()
Constructor. Iterator stands at the end of any matrix.
bool operator>=(const _Matrix_iterator_base< _Tp, _Ref, _Ptr > &__x, const _Matrix_iterator_base< _Tp, _Ref, _Ptr > &__y)
Definition: matrixIterator.hh:218
_Self operator+(difference_type __n) const
Definition: matrixIterator.hh:394
ElementFormulaContainer< Real > operator-(const ElementFormulaContainer< Real > frm, const Real a)
Simple subtracting of a element formulas and a constant via –operator.
_Self & operator+=(difference_type __n)
Definition: matrixIterator.hh:375
_Matrix_iterator_base(const unsigned int nofRows, const unsigned int nofCols, const unsigned int r, const unsigned int c)
Constructor.
#define conceptsAssert(cond, exc)
Assert that a certain condition is fulfilled.
Definition: exceptions.hh:394
_Matrix_iterator_base< _Tp, _Ref, _Ptr > _Base
Definition: matrixIterator.hh:293
_Matrix_iterator_base< _Tp, _Tp &, _Tp * > iterator
Definition: matrixIterator.hh:30
pointer operator->() const
Returns a pointer to the value, but only valid for non-constant matrices.
Definition: matrixIterator.hh:322
F * securePointer(F &value, G *matrix)
Templated function, which prevent a pointer to a temporary value got from constant matrices with inde...
Definition: matrixIterator.hh:262
_Matrix_iterator< _Tp, const _Tp &, const _Tp * > const_iterator
Definition: matrixIterator.hh:281
_Base::return_type return_type
Definition: matrixIterator.hh:295
_Matrix_iterator_base(const _Matrix_iterator_base< _Tp, _RefR, _PtrR > &__x)
Copy constructor.
Definition: matrixIterator.hh:64
bool operator<=(const _Matrix_iterator_base< _Tp, _Ref, _Ptr > &__x, const _Matrix_iterator_base< _Tp, _Ref, _Ptr > &__y)
Definition: matrixIterator.hh:202
_Matrix_iterator_base< _Tp, const _Tp &, const _Tp * > const_iterator
Definition: matrixIterator.hh:31
_Matrix_iterator(const _Matrix_iterator< _Tp, _RefR, _PtrR > &__x)
Copy constructor. Also from iterator to constant iterator.
Definition: matrixIterator.hh:308
ptrdiff_t difference_type
Definition: matrixIterator.hh:291
ReturnType< _Ref >::type return_type
Definition: matrixIterator.hh:45
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
return_type operator[](difference_type __n) const
Definition: matrixIterator.hh:407
Base class for STL like iterator for matrices.
Definition: matrixIterator.hh:28
_Matrix_iterator(matrix_type &m, const unsigned int r=0, const unsigned int c=0)
Constructor.
bool operator<(const Cell &cell_x, const Cell &cell_y)
<-operator could be useful for sorting, e.g. in std::set.
bool operator!=(const _Matrix_iterator_base< _Tp, _Ref, _Ptr > &__x, const _Matrix_iterator_base< _Tp, _Ref, _Ptr > &__y)
Definition: matrixIterator.hh:150
const Matrix< _Tp_ > type
Definition: matrixIterator.hh:430
bool operator==(const Point< F, dim > &x, const Point< F, dim > &y)
Definition: vectorsMatrices.hh:231
Non-constant matrix for non-constant iterator.
Definition: matrixIterator.hh:284
matrix_type * matrix() const
Pointer to the matrix, needed for copy constructor.
Definition: matrixIterator.hh:328
Frm_Sum< Real > operator+(const Formula< Real > &frm, const Real a)
Simple adding two formulas by +-operator.
_Matrix_iterator()
Constructor. Iterator stands at the end of any matrix.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
Definition: matrixIterator.hh:118
_Self & operator-=(difference_type __n)
Definition: matrixIterator.hh:400
bool last() const
Returns true, if iterator is behind the last entry.
Definition: matrixIterator.hh:77
MatrixType< _Tp, _Ref, _Ptr >::type matrix_type
Definition: matrixIterator.hh:294
_Self operator-(difference_type __n) const
Definition: matrixIterator.hh:402