Algorith sandbox
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
algo::ad::MatrixIterator< M > Class Template Reference
Inheritance diagram for algo::ad::MatrixIterator< M >:

Public Types

typedef std::size_t size_type
 
typedef std::ptrdiff_t difference_type
 

Public Member Functions

 MatrixIterator (const M &matrix, const std::size_t ri=0, const std::size_t ci=0)
 
 MatrixIterator (const MatrixIterator< M > &other)
 
MatrixIterator< M > & operator++ ()
 
MatrixIterator< M > & operator-- ()
 
MatrixIterator< M > & operator+= (const difference_type n)
 
MatrixIterator< M > & operator-= (const difference_type n)
 
difference_type operator- (const MatrixIterator< M > &other) const
 
bool operator== (const MatrixIterator< M > &other) const
 
bool operator!= (const MatrixIterator< M > &other) const
 
bool operator< (const MatrixIterator< M > &other) const
 
M::value_type & operator* ()
 
M::value_type & operator[] (const difference_type n)
 

Private Member Functions

size_type calculateLength (const std::size_t ri, const std::size_t ci) const
 

Private Attributes

const M & _matrix
 
std::size_t _ri
 
std::size_t _ci
 

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