CAPD DynSys Library  5.2.0
MatrixIterator< Matrix > Class Template Reference

#include <capd/vectalg/MatrixIterator.h>

Public Types

typedef Matrix::ScalarType ScalarType
 

Public Member Functions

 MatrixIterator (const Matrix &A_matrix)
 
 MatrixIterator (const Matrix &A_matrix, ScalarType *A_pEntry)
 
MatrixIteratormoveToNextColumn ()
 
MatrixIteratormoveToPrevColumn ()
 
MatrixIteratormoveToNextRow ()
 
MatrixIteratormoveToPrevRow ()
 
ScalarTypeoperator* () const
 
bool operator< (const MatrixIterator A_it2) const
 
std::pair< int, introwAndColumn () const
 
int row () const
 
int column () const
 

Protected Attributes

ScalarTypem_pStart
 
ScalarTypem_pEntry
 
int m_nNextRowJump
 
int m_nNextColumnJump
 

Friends

std::ostream & operator<< (std::ostream &o, const MatrixIterator &it)
 

Member Typedef Documentation

◆ ScalarType

template<typename Matrix >
typedef Matrix::ScalarType MatrixIterator< Matrix >::ScalarType

Constructor & Destructor Documentation

◆ MatrixIterator() [1/2]

template<typename Matrix >
MatrixIterator< Matrix >::MatrixIterator ( const Matrix &  A_matrix)
inline

◆ MatrixIterator() [2/2]

template<typename Matrix >
MatrixIterator< Matrix >::MatrixIterator ( const Matrix &  A_matrix,
ScalarType A_pEntry 
)
inline

Member Function Documentation

◆ column()

template<typename Matrix >
int MatrixIterator< Matrix >::column ( ) const
inline

◆ moveToNextColumn()

template<typename Matrix >
MatrixIterator& MatrixIterator< Matrix >::moveToNextColumn ( )
inline

◆ moveToNextRow()

template<typename Matrix >
MatrixIterator& MatrixIterator< Matrix >::moveToNextRow ( )
inline

◆ moveToPrevColumn()

template<typename Matrix >
MatrixIterator& MatrixIterator< Matrix >::moveToPrevColumn ( )
inline

◆ moveToPrevRow()

template<typename Matrix >
MatrixIterator& MatrixIterator< Matrix >::moveToPrevRow ( )
inline

◆ operator*()

template<typename Matrix >
ScalarType& MatrixIterator< Matrix >::operator* ( ) const
inline

◆ operator<()

template<typename Matrix >
bool MatrixIterator< Matrix >::operator< ( const MatrixIterator< Matrix >  A_it2) const
inline

◆ row()

template<typename Matrix >
int MatrixIterator< Matrix >::row ( ) const
inline

◆ rowAndColumn()

template<typename Matrix >
std::pair<int,int> MatrixIterator< Matrix >::rowAndColumn ( ) const
inline

Friends And Related Function Documentation

◆ operator<<

template<typename Matrix >
std::ostream& operator<< ( std::ostream &  o,
const MatrixIterator< Matrix > &  it 
)
friend

Member Data Documentation

◆ m_nNextColumnJump

template<typename Matrix >
int MatrixIterator< Matrix >::m_nNextColumnJump
protected

◆ m_nNextRowJump

template<typename Matrix >
int MatrixIterator< Matrix >::m_nNextRowJump
protected

◆ m_pEntry

template<typename Matrix >
ScalarType* MatrixIterator< Matrix >::m_pEntry
protected

◆ m_pStart

template<typename Matrix >
ScalarType* MatrixIterator< Matrix >::m_pStart
protected