Boost.uBlas 1.49
Linear Algebra in C++: matrices, vectors and numeric algorithms

boost::numeric::ublas::matrix_row< M > Class Template Reference

#include <matrix_proxy.hpp>

Inheritance diagram for boost::numeric::ublas::matrix_row< M >:
Collaboration diagram for boost::numeric::ublas::matrix_row< M >:

List of all members.

Classes

class  const_iterator
class  iterator

Public Types

typedef self_type closure_type
typedef const self_type const_closure_type
typedef M::const_reference const_reference
typedef reverse_iterator_base
< const_iterator
const_reverse_iterator
typedef M::difference_type difference_type
typedef matrix_row< M > expression_type
typedef boost::mpl::if_
< boost::is_const< M >
, typename
M::const_closure_type,
typename M::closure_type >
::type 
matrix_closure_type
typedef M matrix_type
typedef boost::mpl::if_
< boost::is_const< M >
, typename M::const_reference,
typename M::reference >::type 
reference
typedef reverse_iterator_base
< iterator
reverse_iterator
typedef M::size_type size_type
typedef
storage_restrict_traits
< typename M::storage_category,
dense_proxy_tag >
::storage_category 
storage_category
typedef vector_tag type_category
typedef M::value_type value_type

Public Member Functions

BOOST_UBLAS_INLINE matrix_row (matrix_type &data, size_type i)
template<class AE >
BOOST_UBLAS_INLINE matrix_rowassign (const vector_expression< AE > &ae)
BOOST_UBLAS_INLINE matrix_rowassign_temporary (matrix_row &mr)
BOOST_UBLAS_INLINE const_iterator begin () const
BOOST_UBLAS_INLINE iterator begin ()
BOOST_UBLAS_INLINE const
matrix_closure_type
data () const
BOOST_UBLAS_INLINE
matrix_closure_type
data ()
BOOST_UBLAS_INLINE const_iterator end () const
BOOST_UBLAS_INLINE iterator end ()
BOOST_UBLAS_INLINE const_iterator find (size_type j) const
BOOST_UBLAS_INLINE iterator find (size_type j)
BOOST_UBLAS_INLINE size_type index () const
template<class AE >
BOOST_UBLAS_INLINE matrix_rowminus_assign (const vector_expression< AE > &ae)
BOOST_UBLAS_INLINE const
expression_type
operator() () const
BOOST_UBLAS_INLINE
expression_type
operator() ()
BOOST_UBLAS_INLINE const_reference operator() (size_type j) const
BOOST_UBLAS_INLINE reference operator() (size_type j)
template<class AT >
BOOST_UBLAS_INLINE matrix_rowoperator*= (const AT &at)
template<class AE >
BOOST_UBLAS_INLINE matrix_rowoperator+= (const vector_expression< AE > &ae)
template<class AE >
BOOST_UBLAS_INLINE matrix_rowoperator-= (const vector_expression< AE > &ae)
template<class AT >
BOOST_UBLAS_INLINE matrix_rowoperator/= (const AT &at)
BOOST_UBLAS_INLINE matrix_rowoperator= (const matrix_row &mr)
template<class AE >
BOOST_UBLAS_INLINE matrix_rowoperator= (const vector_expression< AE > &ae)
BOOST_UBLAS_INLINE bool operator== (const matrix_row &mr) const
BOOST_UBLAS_INLINE reference operator[] (size_type j)
BOOST_UBLAS_INLINE const_reference operator[] (size_type j) const
template<class AE >
BOOST_UBLAS_INLINE matrix_rowplus_assign (const vector_expression< AE > &ae)
BOOST_UBLAS_INLINE
const_reverse_iterator 
rbegin () const
BOOST_UBLAS_INLINE reverse_iterator rbegin ()
BOOST_UBLAS_INLINE reverse_iterator rend ()
BOOST_UBLAS_INLINE
const_reverse_iterator 
rend () const
BOOST_UBLAS_INLINE bool same_closure (const matrix_row &mr) const
BOOST_UBLAS_INLINE size_type size () const
BOOST_UBLAS_INLINE void swap (matrix_row mr)

Static Public Attributes

static const unsigned complexity

Private Types

typedef M::const_iterator2 const_subiterator_type
typedef matrix_row< M > self_type
typedef boost::mpl::if_
< boost::is_const< M >
, typename M::const_iterator2,
typename M::iterator2 >::type 
subiterator_type

Private Attributes

matrix_closure_type data_
size_type i_

Friends

BOOST_UBLAS_INLINE friend void swap (matrix_row mr1, matrix_row mr2)

Detailed Description

template<class M>
class boost::numeric::ublas::matrix_row< M >

Definition at line 28 of file matrix_proxy.hpp.


Member Typedef Documentation

template<class M>
typedef matrix_row<M> boost::numeric::ublas::matrix_row< M >::self_type [private]

Definition at line 31 of file matrix_proxy.hpp.

template<class M>
typedef M boost::numeric::ublas::matrix_row< M >::matrix_type

Definition at line 36 of file matrix_proxy.hpp.

template<class M>
typedef M::size_type boost::numeric::ublas::matrix_row< M >::size_type

Definition at line 37 of file matrix_proxy.hpp.

template<class M>
typedef M::difference_type boost::numeric::ublas::matrix_row< M >::difference_type

Definition at line 38 of file matrix_proxy.hpp.

template<class M>
typedef M::value_type boost::numeric::ublas::matrix_row< M >::value_type

Definition at line 39 of file matrix_proxy.hpp.

template<class M>
typedef M::const_reference boost::numeric::ublas::matrix_row< M >::const_reference

Definition at line 40 of file matrix_proxy.hpp.

template<class M>
typedef boost::mpl::if_<boost::is_const<M>, typename M::const_reference, typename M::reference>::type boost::numeric::ublas::matrix_row< M >::reference

Definition at line 43 of file matrix_proxy.hpp.

template<class M>
typedef boost::mpl::if_<boost::is_const<M>, typename M::const_closure_type, typename M::closure_type>::type boost::numeric::ublas::matrix_row< M >::matrix_closure_type

Definition at line 46 of file matrix_proxy.hpp.

template<class M>
typedef const self_type boost::numeric::ublas::matrix_row< M >::const_closure_type

Definition at line 47 of file matrix_proxy.hpp.

template<class M>
typedef self_type boost::numeric::ublas::matrix_row< M >::closure_type

Definition at line 48 of file matrix_proxy.hpp.

template<class M>
typedef storage_restrict_traits<typename M::storage_category, dense_proxy_tag>::storage_category boost::numeric::ublas::matrix_row< M >::storage_category

Definition at line 50 of file matrix_proxy.hpp.

template<class M>
typedef M::const_iterator2 boost::numeric::ublas::matrix_row< M >::const_subiterator_type [private]

Definition at line 202 of file matrix_proxy.hpp.

template<class M>
typedef boost::mpl::if_<boost::is_const<M>, typename M::const_iterator2, typename M::iterator2>::type boost::numeric::ublas::matrix_row< M >::subiterator_type [private]

Definition at line 205 of file matrix_proxy.hpp.

Definition at line 439 of file matrix_proxy.hpp.

Definition at line 188 of file expression_types.hpp.


Constructor & Destructor Documentation

template<class M>
BOOST_UBLAS_INLINE boost::numeric::ublas::matrix_row< M >::matrix_row ( matrix_type data,
size_type  i 
) [inline]

Definition at line 54 of file matrix_proxy.hpp.


Member Function Documentation

template<class M>
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_row< M >::size ( ) const [inline]

Definition at line 62 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_row< M >::index ( ) const [inline]

Definition at line 66 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE const matrix_closure_type& boost::numeric::ublas::matrix_row< M >::data ( ) const [inline]

Definition at line 72 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE matrix_closure_type& boost::numeric::ublas::matrix_row< M >::data ( ) [inline]

Definition at line 76 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::matrix_row< M >::operator() ( size_type  j) const [inline]

Definition at line 83 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix_row< M >::operator() ( size_type  j) [inline]

Definition at line 87 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::matrix_row< M >::operator[] ( size_type  j) const [inline]

Definition at line 92 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix_row< M >::operator[] ( size_type  j) [inline]

Definition at line 96 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE matrix_row& boost::numeric::ublas::matrix_row< M >::operator= ( const matrix_row< M > &  mr) [inline]

Definition at line 113 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE matrix_row& boost::numeric::ublas::matrix_row< M >::assign_temporary ( matrix_row< M > &  mr) [inline]

Definition at line 119 of file matrix_proxy.hpp.

template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_row& boost::numeric::ublas::matrix_row< M >::operator= ( const vector_expression< AE > &  ae) [inline]

Definition at line 126 of file matrix_proxy.hpp.

template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_row& boost::numeric::ublas::matrix_row< M >::assign ( const vector_expression< AE > &  ae) [inline]

Definition at line 132 of file matrix_proxy.hpp.

template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_row& boost::numeric::ublas::matrix_row< M >::operator+= ( const vector_expression< AE > &  ae) [inline]

Definition at line 138 of file matrix_proxy.hpp.

template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_row& boost::numeric::ublas::matrix_row< M >::plus_assign ( const vector_expression< AE > &  ae) [inline]

Definition at line 144 of file matrix_proxy.hpp.

template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_row& boost::numeric::ublas::matrix_row< M >::operator-= ( const vector_expression< AE > &  ae) [inline]

Definition at line 150 of file matrix_proxy.hpp.

template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_row& boost::numeric::ublas::matrix_row< M >::minus_assign ( const vector_expression< AE > &  ae) [inline]

Definition at line 156 of file matrix_proxy.hpp.

template<class M>
template<class AT >
BOOST_UBLAS_INLINE matrix_row& boost::numeric::ublas::matrix_row< M >::operator*= ( const AT &  at) [inline]

Definition at line 162 of file matrix_proxy.hpp.

template<class M>
template<class AT >
BOOST_UBLAS_INLINE matrix_row& boost::numeric::ublas::matrix_row< M >::operator/= ( const AT &  at) [inline]

Definition at line 168 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE bool boost::numeric::ublas::matrix_row< M >::same_closure ( const matrix_row< M > &  mr) const [inline]

Definition at line 175 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE bool boost::numeric::ublas::matrix_row< M >::operator== ( const matrix_row< M > &  mr) const [inline]

Definition at line 181 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE void boost::numeric::ublas::matrix_row< M >::swap ( matrix_row< M >  mr) [inline]

Definition at line 187 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::matrix_row< M >::find ( size_type  j) const [inline]

Definition at line 220 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE iterator boost::numeric::ublas::matrix_row< M >::find ( size_type  j) [inline]

Definition at line 229 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::matrix_row< M >::begin ( ) const [inline]

Definition at line 330 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::matrix_row< M >::end ( ) const [inline]

Definition at line 334 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE iterator boost::numeric::ublas::matrix_row< M >::begin ( ) [inline]

Definition at line 429 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE iterator boost::numeric::ublas::matrix_row< M >::end ( ) [inline]

Definition at line 433 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::matrix_row< M >::rbegin ( ) const [inline]

Definition at line 442 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::matrix_row< M >::rend ( ) const [inline]

Definition at line 446 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE reverse_iterator boost::numeric::ublas::matrix_row< M >::rbegin ( ) [inline]

Definition at line 450 of file matrix_proxy.hpp.

template<class M>
BOOST_UBLAS_INLINE reverse_iterator boost::numeric::ublas::matrix_row< M >::rend ( ) [inline]

Definition at line 454 of file matrix_proxy.hpp.

BOOST_UBLAS_INLINE const expression_type& boost::numeric::ublas::vector_expression< matrix_row< M > >::operator() ( ) const [inline, inherited]

Definition at line 194 of file expression_types.hpp.

BOOST_UBLAS_INLINE expression_type& boost::numeric::ublas::vector_expression< matrix_row< M > >::operator() ( ) [inline, inherited]

Definition at line 198 of file expression_types.hpp.


Friends And Related Function Documentation

template<class M>
BOOST_UBLAS_INLINE friend void swap ( matrix_row< M >  mr1,
matrix_row< M >  mr2 
) [friend]

Definition at line 196 of file matrix_proxy.hpp.


Member Data Documentation

template<class M>
matrix_closure_type boost::numeric::ublas::matrix_row< M >::data_ [private]

Definition at line 459 of file matrix_proxy.hpp.

template<class M>
size_type boost::numeric::ublas::matrix_row< M >::i_ [private]

Definition at line 460 of file matrix_proxy.hpp.

const unsigned boost::numeric::ublas::vector_expression< matrix_row< M > >::complexity [static, inherited]

Definition at line 186 of file expression_types.hpp.


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