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_range< M > Class Template Reference

#include <matrix_proxy.hpp>

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

Classes

class  const_iterator1
 
class  const_iterator2
 
class  iterator1
 
class  iterator2
 

Public Types

typedef M matrix_type
 
typedef M::size_type size_type
 
typedef M::difference_type difference_type
 
typedef M::value_type value_type
 
typedef M::const_reference const_reference
 
typedef boost::mpl::if_
< boost::is_const< M >
, typename M::const_reference,
typename M::reference >::type 
reference
 
typedef boost::mpl::if_
< boost::is_const< M >
, typename
M::const_closure_type,
typename M::closure_type >
::type 
matrix_closure_type
 
typedef basic_range< size_type,
difference_type
range_type
 
typedef const self_type const_closure_type
 
typedef self_type closure_type
 
typedef
storage_restrict_traits
< typename M::storage_category,
dense_proxy_tag >
::storage_category 
storage_category
 
typedef M::orientation_category orientation_category
 
typedef reverse_iterator_base1
< const_iterator1
const_reverse_iterator1
 
typedef reverse_iterator_base1
< iterator1
reverse_iterator1
 
typedef reverse_iterator_base2
< const_iterator2
const_reverse_iterator2
 
typedef reverse_iterator_base2
< iterator2
reverse_iterator2
 
typedef matrix_range< M > expression_type
 
typedef matrix_tag type_category
 

Public Member Functions

BOOST_UBLAS_INLINE matrix_range (matrix_type &data, const range_type &r1, const range_type &r2)
 
BOOST_UBLAS_INLINE matrix_range (const matrix_closure_type &data, const range_type &r1, const range_type &r2, int)
 
BOOST_UBLAS_INLINE size_type start1 () const
 
BOOST_UBLAS_INLINE size_type size1 () const
 
BOOST_UBLAS_INLINE size_type start2 () const
 
BOOST_UBLAS_INLINE size_type size2 () const
 
BOOST_UBLAS_INLINE const
matrix_closure_type
data () const
 
BOOST_UBLAS_INLINE
matrix_closure_type
data ()
 
BOOST_UBLAS_INLINE const_reference operator() (size_type i, size_type j) const
 
BOOST_UBLAS_INLINE reference operator() (size_type i, size_type j)
 
BOOST_UBLAS_INLINE
matrix_range< matrix_type
project (const range_type &r1, const range_type &r2) const
 
BOOST_UBLAS_INLINE matrix_rangeoperator= (const matrix_range &mr)
 
BOOST_UBLAS_INLINE matrix_rangeassign_temporary (matrix_range &mr)
 
template<class AE >
BOOST_UBLAS_INLINE matrix_rangeoperator= (const matrix_expression< AE > &ae)
 
template<class AE >
BOOST_UBLAS_INLINE matrix_rangeassign (const matrix_expression< AE > &ae)
 
template<class AE >
BOOST_UBLAS_INLINE matrix_rangeoperator+= (const matrix_expression< AE > &ae)
 
template<class AE >
BOOST_UBLAS_INLINE matrix_rangeplus_assign (const matrix_expression< AE > &ae)
 
template<class AE >
BOOST_UBLAS_INLINE matrix_rangeoperator-= (const matrix_expression< AE > &ae)
 
template<class AE >
BOOST_UBLAS_INLINE matrix_rangeminus_assign (const matrix_expression< AE > &ae)
 
template<class AT >
BOOST_UBLAS_INLINE matrix_rangeoperator*= (const AT &at)
 
template<class AT >
BOOST_UBLAS_INLINE matrix_rangeoperator/= (const AT &at)
 
BOOST_UBLAS_INLINE bool same_closure (const matrix_range &mr) const
 
BOOST_UBLAS_INLINE bool operator== (const matrix_range &mr) const
 
BOOST_UBLAS_INLINE void swap (matrix_range mr)
 
BOOST_UBLAS_INLINE const_iterator1 find1 (int rank, size_type i, size_type j) const
 
BOOST_UBLAS_INLINE iterator1 find1 (int rank, size_type i, size_type j)
 
BOOST_UBLAS_INLINE const_iterator2 find2 (int rank, size_type i, size_type j) const
 
BOOST_UBLAS_INLINE iterator2 find2 (int rank, size_type i, size_type j)
 
BOOST_UBLAS_INLINE const_iterator1 begin1 () const
 
BOOST_UBLAS_INLINE const_iterator1 cbegin1 () const
 
BOOST_UBLAS_INLINE const_iterator1 end1 () const
 
BOOST_UBLAS_INLINE const_iterator1 cend1 () const
 
BOOST_UBLAS_INLINE iterator1 begin1 ()
 
BOOST_UBLAS_INLINE iterator1 end1 ()
 
BOOST_UBLAS_INLINE const_iterator2 begin2 () const
 
BOOST_UBLAS_INLINE const_iterator2 cbegin2 () const
 
BOOST_UBLAS_INLINE const_iterator2 end2 () const
 
BOOST_UBLAS_INLINE const_iterator2 cend2 () const
 
BOOST_UBLAS_INLINE iterator2 begin2 ()
 
BOOST_UBLAS_INLINE iterator2 end2 ()
 
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rbegin1 () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator1 
crbegin1 () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator1 
rend1 () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator1 
crend1 () const
 
BOOST_UBLAS_INLINE
reverse_iterator1 
rbegin1 ()
 
BOOST_UBLAS_INLINE
reverse_iterator1 
rend1 ()
 
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rbegin2 () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator2 
crbegin2 () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator2 
rend2 () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator2 
crend2 () const
 
BOOST_UBLAS_INLINE
reverse_iterator2 
rbegin2 ()
 
BOOST_UBLAS_INLINE
reverse_iterator2 
rend2 ()
 
BOOST_UBLAS_INLINE const
expression_type
operator() () const
 
BOOST_UBLAS_INLINE
expression_type
operator() ()
 

Static Public Attributes

static const unsigned complexity
 

Friends

BOOST_UBLAS_INLINE friend void swap (matrix_range mr1, matrix_range mr2)
 

Member Typedef Documentation

template<class M>
typedef const self_type boost::numeric::ublas::matrix_range< M >::const_closure_type
template<class M>
typedef M::const_reference boost::numeric::ublas::matrix_range< M >::const_reference
template<class M>
typedef reverse_iterator_base1<const_iterator1> boost::numeric::ublas::matrix_range< M >::const_reverse_iterator1
template<class M>
typedef reverse_iterator_base2<const_iterator2> boost::numeric::ublas::matrix_range< M >::const_reverse_iterator2
template<class M>
typedef M::difference_type boost::numeric::ublas::matrix_range< M >::difference_type
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_range< M >::matrix_closure_type
template<class M>
typedef M boost::numeric::ublas::matrix_range< M >::matrix_type
template<class M>
typedef M::orientation_category boost::numeric::ublas::matrix_range< M >::orientation_category
template<class M>
typedef boost::mpl::if_<boost::is_const<M>, typename M::const_reference, typename M::reference>::type boost::numeric::ublas::matrix_range< M >::reference
template<class M>
typedef reverse_iterator_base1<iterator1> boost::numeric::ublas::matrix_range< M >::reverse_iterator1
template<class M>
typedef reverse_iterator_base2<iterator2> boost::numeric::ublas::matrix_range< M >::reverse_iterator2
template<class M>
typedef M::size_type boost::numeric::ublas::matrix_range< M >::size_type
template<class M>
typedef storage_restrict_traits<typename M::storage_category, dense_proxy_tag>::storage_category boost::numeric::ublas::matrix_range< M >::storage_category
template<class M>
typedef M::value_type boost::numeric::ublas::matrix_range< M >::value_type

Constructor & Destructor Documentation

template<class M>
BOOST_UBLAS_INLINE boost::numeric::ublas::matrix_range< M >::matrix_range ( matrix_type data,
const range_type r1,
const range_type r2 
)
inline
template<class M>
BOOST_UBLAS_INLINE boost::numeric::ublas::matrix_range< M >::matrix_range ( const matrix_closure_type data,
const range_type r1,
const range_type r2,
int   
)
inline

Member Function Documentation

template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_range& boost::numeric::ublas::matrix_range< M >::assign ( const matrix_expression< AE > &  ae)
inline
template<class M>
BOOST_UBLAS_INLINE matrix_range& boost::numeric::ublas::matrix_range< M >::assign_temporary ( matrix_range< M > &  mr)
inline
template<class M>
BOOST_UBLAS_INLINE iterator1 boost::numeric::ublas::matrix_range< M >::begin1 ( )
inline
template<class M>
BOOST_UBLAS_INLINE iterator2 boost::numeric::ublas::matrix_range< M >::begin2 ( )
inline
template<class M>
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix_range< M >::cbegin1 ( ) const
inline
template<class M>
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix_range< M >::cbegin2 ( ) const
inline
template<class M>
BOOST_UBLAS_INLINE const_iterator1 boost::numeric::ublas::matrix_range< M >::cend1 ( ) const
inline
template<class M>
BOOST_UBLAS_INLINE const_iterator2 boost::numeric::ublas::matrix_range< M >::cend2 ( ) const
inline
template<class M>
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::matrix_range< M >::crbegin1 ( ) const
inline
template<class M>
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::matrix_range< M >::crbegin2 ( ) const
inline
template<class M>
BOOST_UBLAS_INLINE const_reverse_iterator1 boost::numeric::ublas::matrix_range< M >::crend1 ( ) const
inline
template<class M>
BOOST_UBLAS_INLINE const_reverse_iterator2 boost::numeric::ublas::matrix_range< M >::crend2 ( ) const
inline
template<class M>
BOOST_UBLAS_INLINE const matrix_closure_type& boost::numeric::ublas::matrix_range< M >::data ( ) const
inline
template<class M>
BOOST_UBLAS_INLINE matrix_closure_type& boost::numeric::ublas::matrix_range< M >::data ( )
inline
template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_range& boost::numeric::ublas::matrix_range< M >::minus_assign ( const matrix_expression< AE > &  ae)
inline
BOOST_UBLAS_INLINE const expression_type& boost::numeric::ublas::matrix_expression< matrix_range< M > >::operator() ( ) const
inlineinherited
BOOST_UBLAS_INLINE expression_type& boost::numeric::ublas::matrix_expression< matrix_range< M > >::operator() ( )
inlineinherited
template<class M>
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::matrix_range< M >::operator() ( size_type  i,
size_type  j 
) const
inline
template<class M>
BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix_range< M >::operator() ( size_type  i,
size_type  j 
)
inline
template<class M>
template<class AT >
BOOST_UBLAS_INLINE matrix_range& boost::numeric::ublas::matrix_range< M >::operator*= ( const AT &  at)
inline

References boost::xpressive::at.

template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_range& boost::numeric::ublas::matrix_range< M >::operator+= ( const matrix_expression< AE > &  ae)
inline

References boost::detail::type.

template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_range& boost::numeric::ublas::matrix_range< M >::operator-= ( const matrix_expression< AE > &  ae)
inline

References boost::detail::type.

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

References boost::xpressive::at.

template<class M>
BOOST_UBLAS_INLINE matrix_range& boost::numeric::ublas::matrix_range< M >::operator= ( const matrix_range< M > &  mr)
inline
template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_range& boost::numeric::ublas::matrix_range< M >::operator= ( const matrix_expression< AE > &  ae)
inline

References boost::detail::type.

template<class M>
BOOST_UBLAS_INLINE bool boost::numeric::ublas::matrix_range< M >::operator== ( const matrix_range< M > &  mr) const
inline
template<class M>
template<class AE >
BOOST_UBLAS_INLINE matrix_range& boost::numeric::ublas::matrix_range< M >::plus_assign ( const matrix_expression< AE > &  ae)
inline
template<class M>
BOOST_UBLAS_INLINE reverse_iterator1 boost::numeric::ublas::matrix_range< M >::rbegin1 ( )
inline
template<class M>
BOOST_UBLAS_INLINE reverse_iterator2 boost::numeric::ublas::matrix_range< M >::rbegin2 ( )
inline
template<class M>
BOOST_UBLAS_INLINE reverse_iterator1 boost::numeric::ublas::matrix_range< M >::rend1 ( )
inline
template<class M>
BOOST_UBLAS_INLINE reverse_iterator2 boost::numeric::ublas::matrix_range< M >::rend2 ( )
inline

Friends And Related Function Documentation

template<class M>
BOOST_UBLAS_INLINE friend void swap ( matrix_range< M >  mr1,
matrix_range< M >  mr2 
)
friend

Member Data Documentation

const unsigned boost::numeric::ublas::matrix_expression< matrix_range< M > >::complexity
staticinherited

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