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::matrix_row_vector< Matrix > Class Template Reference

Represents a Matrix as a vector of rows. More...

#include <matrix_vector.hpp>

Public Types

typedef ublas::matrix_row< Matrix > value_type
 
typedef ublas::matrix_row< Matrix > reference
 
typedef ublas::matrix_row
< Matrix const > 
const_reference
 
typedef
ublas::detail::matrix_vector_iterator
< Matrix, ublas::matrix_row
< Matrix > > 
iterator
 
typedef
ublas::detail::matrix_vector_iterator
< Matrix const,
ublas::matrix_row< Matrix
const > const > 
const_iterator
 
typedef
boost::reverse_iterator
< iterator
reverse_iterator
 
typedef
boost::reverse_iterator
< const_iterator
const_reverse_iterator
 
typedef
boost::iterator_difference
< iterator >::type 
difference_type
 
typedef Matrix::size_type size_type
 

Public Member Functions

 matrix_row_vector (Matrix &matrix)
 
iterator begin ()
 
const_iterator begin () const
 
const_iterator cbegin () const
 
iterator end ()
 
const_iterator end () const
 
const_iterator cend () const
 
reverse_iterator rbegin ()
 
const_reverse_iterator rbegin () const
 
const_reverse_iterator crbegin () const
 
reverse_iterator rend ()
 
const_reverse_iterator rend () const
 
const_reverse_iterator crend () const
 
value_type operator() (difference_type index) const
 
reference operator[] (difference_type index)
 
const_reference operator[] (difference_type index) const
 
size_type size () const
 
void resize (size_type size, bool preserve=true)
 

Detailed Description

template<class Matrix>
class boost::numeric::ublas::matrix_row_vector< Matrix >

Represents a Matrix as a vector of rows.

Implements an interface to Matrix that the underlaying matrix is represented as a vector of rows.

The vector could be resized which causes the resize of the number of rows of the underlaying matrix.

Member Typedef Documentation

template<class Matrix >
typedef ublas::detail::matrix_vector_iterator<Matrix const, ublas::matrix_row<Matrix const> const> boost::numeric::ublas::matrix_row_vector< Matrix >::const_iterator
template<class Matrix >
typedef ublas::matrix_row<Matrix const> boost::numeric::ublas::matrix_row_vector< Matrix >::const_reference
template<class Matrix >
typedef boost::reverse_iterator<const_iterator> boost::numeric::ublas::matrix_row_vector< Matrix >::const_reverse_iterator
template<class Matrix >
typedef boost::iterator_difference<iterator>::type boost::numeric::ublas::matrix_row_vector< Matrix >::difference_type
template<class Matrix >
typedef ublas::matrix_row<Matrix> boost::numeric::ublas::matrix_row_vector< Matrix >::reference
template<class Matrix >
typedef boost::reverse_iterator<iterator> boost::numeric::ublas::matrix_row_vector< Matrix >::reverse_iterator
template<class Matrix >
typedef Matrix::size_type boost::numeric::ublas::matrix_row_vector< Matrix >::size_type
template<class Matrix >
typedef ublas::matrix_row<Matrix> boost::numeric::ublas::matrix_row_vector< Matrix >::value_type

Constructor & Destructor Documentation

template<class Matrix >
boost::numeric::ublas::matrix_row_vector< Matrix >::matrix_row_vector ( Matrix &  matrix)
inline

Member Function Documentation

template<class Matrix >
const_iterator boost::numeric::ublas::matrix_row_vector< Matrix >::begin ( void  ) const
inline
template<class Matrix >
const_iterator boost::numeric::ublas::matrix_row_vector< Matrix >::end ( void  ) const
inline
template<class Matrix >
value_type boost::numeric::ublas::matrix_row_vector< Matrix >::operator() ( difference_type  index) const
inline
template<class Matrix >
reference boost::numeric::ublas::matrix_row_vector< Matrix >::operator[] ( difference_type  index)
inline
template<class Matrix >
const_reference boost::numeric::ublas::matrix_row_vector< Matrix >::operator[] ( difference_type  index) const
inline
template<class Matrix >
void boost::numeric::ublas::matrix_row_vector< Matrix >::resize ( size_type  size,
bool  preserve = true 
)
inline
template<class Matrix >
size_type boost::numeric::ublas::matrix_row_vector< Matrix >::size ( void  ) const
inline

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