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

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

#include <matrix_proxy.hpp>

Inheritance diagram for boost::numeric::ublas::matrix_vector_range< M >:
Collaboration diagram for boost::numeric::ublas::matrix_vector_range< 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_vector_range< 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 basic_range< size_type,
difference_type
range_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_vector_range (matrix_type &data, const range_type &r1, const range_type &r2)
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_range
assign (const vector_expression< AE > &ae)
BOOST_UBLAS_INLINE
matrix_vector_range
assign_temporary (matrix_vector_range &mvr)
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 i) const
BOOST_UBLAS_INLINE iterator find (size_type i)
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_range
minus_assign (const vector_expression< AE > &ae)
BOOST_UBLAS_INLINE const
expression_type
operator() () const
BOOST_UBLAS_INLINE
expression_type
operator() ()
BOOST_UBLAS_INLINE reference operator() (size_type i)
BOOST_UBLAS_INLINE const_reference operator() (size_type i) const
template<class AT >
BOOST_UBLAS_INLINE
matrix_vector_range
operator*= (const AT &at)
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_range
operator+= (const vector_expression< AE > &ae)
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_range
operator-= (const vector_expression< AE > &ae)
template<class AT >
BOOST_UBLAS_INLINE
matrix_vector_range
operator/= (const AT &at)
BOOST_UBLAS_INLINE
matrix_vector_range
operator= (const matrix_vector_range &mvr)
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_range
operator= (const vector_expression< AE > &ae)
BOOST_UBLAS_INLINE bool operator== (const matrix_vector_range &mvr) const
BOOST_UBLAS_INLINE reference operator[] (size_type i)
BOOST_UBLAS_INLINE const_reference operator[] (size_type i) const
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_range
plus_assign (const vector_expression< AE > &ae)
BOOST_UBLAS_INLINE reverse_iterator rbegin ()
BOOST_UBLAS_INLINE
const_reverse_iterator 
rbegin () const
BOOST_UBLAS_INLINE reverse_iterator rend ()
BOOST_UBLAS_INLINE
const_reverse_iterator 
rend () const
BOOST_UBLAS_INLINE bool same_closure (const matrix_vector_range &mvr) const
BOOST_UBLAS_INLINE size_type size () const
BOOST_UBLAS_INLINE size_type start1 () const
BOOST_UBLAS_INLINE size_type start2 () const
BOOST_UBLAS_INLINE void swap (matrix_vector_range mvr)

Static Public Attributes

static const unsigned complexity

Private Types

typedef range_type::const_iterator const_subiterator1_type
typedef range_type::const_iterator const_subiterator2_type
typedef matrix_vector_range< M > self_type
typedef range_type::const_iterator subiterator1_type
typedef range_type::const_iterator subiterator2_type

Private Attributes

matrix_closure_type data_
range_type r1_
range_type r2_

Friends

BOOST_UBLAS_INLINE friend void swap (matrix_vector_range mvr1, matrix_vector_range mvr2)

Detailed Description

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

Definition at line 941 of file matrix_proxy.hpp.


Member Typedef Documentation

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

Definition at line 944 of file matrix_proxy.hpp.

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

Definition at line 949 of file matrix_proxy.hpp.

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

Definition at line 950 of file matrix_proxy.hpp.

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

Definition at line 951 of file matrix_proxy.hpp.

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

Definition at line 952 of file matrix_proxy.hpp.

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

Definition at line 953 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_vector_range< M >::reference

Definition at line 956 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_vector_range< M >::matrix_closure_type

Definition at line 959 of file matrix_proxy.hpp.

Definition at line 960 of file matrix_proxy.hpp.

Definition at line 961 of file matrix_proxy.hpp.

Definition at line 962 of file matrix_proxy.hpp.

Definition at line 964 of file matrix_proxy.hpp.

template<class M >
typedef range_type::const_iterator boost::numeric::ublas::matrix_vector_range< M >::const_subiterator1_type [private]

Definition at line 1125 of file matrix_proxy.hpp.

template<class M >
typedef range_type::const_iterator boost::numeric::ublas::matrix_vector_range< M >::subiterator1_type [private]

Definition at line 1126 of file matrix_proxy.hpp.

template<class M >
typedef range_type::const_iterator boost::numeric::ublas::matrix_vector_range< M >::const_subiterator2_type [private]

Definition at line 1127 of file matrix_proxy.hpp.

template<class M >
typedef range_type::const_iterator boost::numeric::ublas::matrix_vector_range< M >::subiterator2_type [private]

Definition at line 1128 of file matrix_proxy.hpp.


Constructor & Destructor Documentation

template<class M >
BOOST_UBLAS_INLINE boost::numeric::ublas::matrix_vector_range< M >::matrix_vector_range ( matrix_type data,
const range_type r1,
const range_type r2 
) [inline]

Definition at line 968 of file matrix_proxy.hpp.


Member Function Documentation

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

Definition at line 980 of file matrix_proxy.hpp.

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

Definition at line 984 of file matrix_proxy.hpp.

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

Definition at line 988 of file matrix_proxy.hpp.

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

Definition at line 994 of file matrix_proxy.hpp.

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

Definition at line 998 of file matrix_proxy.hpp.

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

Definition at line 1005 of file matrix_proxy.hpp.

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

Definition at line 1009 of file matrix_proxy.hpp.

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

Definition at line 1014 of file matrix_proxy.hpp.

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

Definition at line 1018 of file matrix_proxy.hpp.

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

Definition at line 1035 of file matrix_proxy.hpp.

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

Definition at line 1041 of file matrix_proxy.hpp.

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

Definition at line 1048 of file matrix_proxy.hpp.

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

Definition at line 1054 of file matrix_proxy.hpp.

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

Definition at line 1060 of file matrix_proxy.hpp.

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

Definition at line 1066 of file matrix_proxy.hpp.

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

Definition at line 1072 of file matrix_proxy.hpp.

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

Definition at line 1078 of file matrix_proxy.hpp.

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

Definition at line 1084 of file matrix_proxy.hpp.

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

Definition at line 1090 of file matrix_proxy.hpp.

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

Definition at line 1097 of file matrix_proxy.hpp.

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

Definition at line 1103 of file matrix_proxy.hpp.

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

Definition at line 1109 of file matrix_proxy.hpp.

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

Definition at line 1136 of file matrix_proxy.hpp.

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

Definition at line 1140 of file matrix_proxy.hpp.

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

Definition at line 1244 of file matrix_proxy.hpp.

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

Definition at line 1248 of file matrix_proxy.hpp.

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

Definition at line 1351 of file matrix_proxy.hpp.

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

Definition at line 1355 of file matrix_proxy.hpp.

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

Definition at line 1364 of file matrix_proxy.hpp.

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

Definition at line 1368 of file matrix_proxy.hpp.

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

Definition at line 1372 of file matrix_proxy.hpp.

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

Definition at line 1376 of file matrix_proxy.hpp.

BOOST_UBLAS_INLINE const expression_type& boost::numeric::ublas::vector_expression< matrix_vector_range< 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_vector_range< 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_vector_range< M >  mvr1,
matrix_vector_range< M >  mvr2 
) [friend]

Definition at line 1118 of file matrix_proxy.hpp.


Member Data Documentation

Definition at line 1381 of file matrix_proxy.hpp.

template<class M >
range_type boost::numeric::ublas::matrix_vector_range< M >::r1_ [private]

Definition at line 1382 of file matrix_proxy.hpp.

template<class M >
range_type boost::numeric::ublas::matrix_vector_range< M >::r2_ [private]

Definition at line 1383 of file matrix_proxy.hpp.

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

Definition at line 186 of file expression_types.hpp.


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