subMatrixIterator.hh
ptrdiff_t difference_type
Definition: subMatrixIterator.hh:40
MatrixType< F, _Ref, _Ptr >::type matrix_type
Definition: subMatrixIterator.hh:43
_SubMatrix_iterator< F, const value_type &, const value_type * > const_iterator
Definition: subMatrixIterator.hh:49
std::shared_ptr< Set< IndexRange >::index_iterator > iI_
Iterator over row index range.
Definition: subMatrixIterator.hh:128
MatrixType< F, _Ref, _Ptr >::iterator * i() const
Definition: subMatrixIterator.hh:109
std::forward_iterator_tag iterator_category
Definition: subMatrixIterator.hh:33
const SubMatrixN< F_ > type
Definition: subMatrixIterator.hh:154
_SubMatrix_iterator(const _SubMatrix_iterator< F, _RefR, _PtrR > &__x)
Copy constructor. Also from iterator to constant iterator.
Definition: subMatrixIterator.hh:61
SubMatrixN< F_ > type
Definition: subMatrixIterator.hh:144
Set with operations, output operator, and method of the particular element types.
Definition: traces.hh:18
F_::const_iterator iterator
Definition: subMatrixIterator.hh:155
#define conceptsAssert(cond, exc)
Assert that a certain condition is fulfilled.
Definition: exceptions.hh:394
_SubMatrix_iterator< F, value_type &, value_type * > iterator
Definition: subMatrixIterator.hh:47
std::shared_ptr< typename MatrixType< F, _Ref, _Ptr >::iterator > i_
Iterator over matrix entries.
Definition: subMatrixIterator.hh:124
std::shared_ptr< const typename MatrixType< F, _Ref, _Ptr >::iterator > iend_
Iterator behind last matrix entry.
Definition: subMatrixIterator.hh:126
std::shared_ptr< const Set< IndexRange >::index_iterator > lastI_
Iterator behind the last row index.
Definition: subMatrixIterator.hh:130
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
_Base::return_type return_type
Definition: subMatrixIterator.hh:44
_Self & next_()
If the iterator is not standing inside submatrix, raise until it's standing inside.
Abstract class for an operator, which is a sub matrix of another matrix.
Definition: submatrix.hh:26
_SubMatrix_iterator()
Constructor. Iterator stands at the end of any matrix.
const MatrixType< F, _Ref, _Ptr >::iterator * iend() const
Definition: subMatrixIterator.hh:112
ReturnType< _Ref >::type return_type
Definition: matrixIterator.hh:45
Base class for STL like iterator for matrices.
Definition: matrixIterator.hh:28
_Matrix_iterator_base< value_type, _Ref, _Ptr > _Base
Definition: subMatrixIterator.hh:42
F_::iterator iterator
Definition: subMatrixIterator.hh:145
const Set< IndexRange >::index_iterator * lastI() const
Definition: subMatrixIterator.hh:116
Non-constant matrix for non-constant iterator.
Definition: subMatrixIterator.hh:33
_Self & operator=(const _SubMatrix_iterator< F, _RefR, _PtrR > &__x)
Assignment.
Definition: subMatrixIterator.hh:87
Set< IndexRange >::index_iterator * iI() const
Definition: subMatrixIterator.hh:115
_SubMatrix_iterator(matrix_type &m, uint r=0)
Constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.