hashedSMatrixIterator.hh
_HashedSMatrix_iterator(matrix_type &m, const unsigned int r=0)
Constructor.
virtual std::ostream & info(std::ostream &os) const
Returns information in an output stream.
HashedSparseMatrix< _Tp >::Value * v() const
Data defining the position of the iterator.
Definition: hashedSMatrixIterator.hh:98
HashedSparseMatrix< _Tp >::Value ** page() const
Definition: hashedSMatrixIterator.hh:104
_HashedSMatrix_iterator(const _HashedSMatrix_iterator< _Tp, _RefR, _PtrR > &__x)
Copy constructor. Also from iterator to constant iterator.
Definition: hashedSMatrixIterator.hh:59
int hashBits_
Hash bits, number of pages per row (2 ^ hash bits), number of pages.
Definition: hashedSMatrixIterator.hh:111
_Self pre_increment()
Pre-increment operator, exportable to Python.
HashedSparseMatrix< _Tp >::Value ** page_
Pointer to the first entrance in the page.
Definition: hashedSMatrixIterator.hh:115
HashedSparseMatrix< _Tp_ > type
Definition: hashedSMatrixIterator.hh:122
_HashedSMatrix_iterator()
Constructor. Iterator stands at the end of any matrix.
_HashedSMatrix_iterator< _Tp, _Tp &, _Tp * > iterator
Definition: hashedSMatrixIterator.hh:31
_Self & operator=(const _HashedSMatrix_iterator< _Tp, _RefR, _PtrR > &__x)
Assignment.
Definition: hashedSMatrixIterator.hh:79
_HashedSMatrix_iterator _Self
Definition: hashedSMatrixIterator.hh:43
#define conceptsAssert(cond, exc)
Assert that a certain condition is fulfilled.
Definition: exceptions.hh:394
_Matrix_iterator_base< _Tp, _Ref, _Ptr > _Base
Definition: hashedSMatrixIterator.hh:44
int nofPages() const
Definition: hashedSMatrixIterator.hh:101
Non-constant matrix for non-constant iterator.
Definition: hashedSMatrixIterator.hh:35
int hashBits() const
Definition: hashedSMatrixIterator.hh:99
_Base::return_type return_type
Definition: hashedSMatrixIterator.hh:46
MatrixType< _Tp, _Ref, _Ptr >::type matrix_type
Definition: hashedSMatrixIterator.hh:45
ReturnType< _Ref >::type return_type
Definition: matrixIterator.hh:45
int pNextRow() const
Definition: hashedSMatrixIterator.hh:103
Base class for STL like iterator for matrices.
Definition: matrixIterator.hh:28
HashedSparseMatrix< _Tp >::Value * v_
Pointer to the current entrance. If its zero, the end is reached.
Definition: hashedSMatrixIterator.hh:109
_HashedSMatrix_iterator< _Tp, const _Tp &, const _Tp * > const_iterator
Definition: hashedSMatrixIterator.hh:32
const HashedSparseMatrix< _Tp_ > type
Definition: hashedSMatrixIterator.hh:131
int pPerRow() const
Definition: hashedSMatrixIterator.hh:100
STL like iterator for hashed sparse matrices.
Definition: hashedSMatrixIterator.hh:29
std::forward_iterator_tag iterator_category
Definition: hashedSMatrixIterator.hh:35
ptrdiff_t difference_type
Definition: hashedSMatrixIterator.hh:42
_Self post_increment()
Post-increment operator, exportable to Python.