Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::numeric::ublas::detail::matrix_vector_iterator< Matrix, Reference > Class Template Reference

Iterator used in the represention of a matrix as a vector of rows or columns. More...

#include <matrix_vector.hpp>

Inheritance diagram for boost::numeric::ublas::detail::matrix_vector_iterator< Matrix, Reference >:
Collaboration diagram for boost::numeric::ublas::detail::matrix_vector_iterator< Matrix, Reference >:

Public Member Functions

 matrix_vector_iterator ()
 
 matrix_vector_iterator (Matrix &matrix, std::size_t position)
 constructs a matrix_vector_iterator as pointing to the i-th proxy More...
 
template<class M , class R >
 matrix_vector_iterator (matrix_vector_iterator< M, R > const &other)
 

Friends

class boost::iterator_core_access
 
template<class M , class R >
class matrix_vector_iterator
 

Detailed Description

template<class Matrix, class Reference>
class boost::numeric::ublas::detail::matrix_vector_iterator< Matrix, Reference >

Iterator used in the represention of a matrix as a vector of rows or columns.

Iterator used in the represention of a matrix as a vector of rows/columns. It refers to the i-th element of the matrix, a column or a row depending of Reference type.

The type of Reference should provide a constructor Reference(matrix, i)

This iterator is invalidated when the underlying matrix is resized.

Matrix type of matrix that is represented as a vector of row/column Reference Matrix row or matrix column type.

Constructor & Destructor Documentation

template<class Matrix, class Reference>
boost::numeric::ublas::detail::matrix_vector_iterator< Matrix, Reference >::matrix_vector_iterator ( )
inline
template<class Matrix, class Reference>
boost::numeric::ublas::detail::matrix_vector_iterator< Matrix, Reference >::matrix_vector_iterator ( Matrix &  matrix,
std::size_t  position 
)
inline

constructs a matrix_vector_iterator as pointing to the i-th proxy

template<class Matrix, class Reference>
template<class M , class R >
boost::numeric::ublas::detail::matrix_vector_iterator< Matrix, Reference >::matrix_vector_iterator ( matrix_vector_iterator< M, R > const &  other)
inline

Friends And Related Function Documentation

template<class Matrix, class Reference>
template<class M , class R >
friend class matrix_vector_iterator
friend
template<class Matrix, class Reference>
friend class boost::iterator_core_access
friend

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