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

#include <matrix_proxy.hpp>

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

Classes

class  const_iterator
 
class  iterator
 

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 basic_slice< size_type,
difference_type
slice_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 reverse_iterator_base
< const_iterator
const_reverse_iterator
 
typedef reverse_iterator_base
< iterator
reverse_iterator
 
typedef matrix_vector_slice< M > expression_type
 
typedef vector_tag type_category
 

Public Member Functions

BOOST_UBLAS_INLINE matrix_vector_slice (matrix_type &data, const slice_type &s1, const slice_type &s2)
 
BOOST_UBLAS_INLINE size_type start1 () const
 
BOOST_UBLAS_INLINE size_type start2 () const
 
BOOST_UBLAS_INLINE difference_type stride1 () const
 
BOOST_UBLAS_INLINE difference_type stride2 () const
 
BOOST_UBLAS_INLINE size_type size () 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) const
 
BOOST_UBLAS_INLINE reference operator() (size_type i)
 
BOOST_UBLAS_INLINE const_reference operator[] (size_type i) const
 
BOOST_UBLAS_INLINE reference operator[] (size_type i)
 
BOOST_UBLAS_INLINE
matrix_vector_slice
operator= (const matrix_vector_slice &mvs)
 
BOOST_UBLAS_INLINE
matrix_vector_slice
assign_temporary (matrix_vector_slice &mvs)
 
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_slice
operator= (const vector_expression< AE > &ae)
 
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_slice
assign (const vector_expression< AE > &ae)
 
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_slice
operator+= (const vector_expression< AE > &ae)
 
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_slice
plus_assign (const vector_expression< AE > &ae)
 
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_slice
operator-= (const vector_expression< AE > &ae)
 
template<class AE >
BOOST_UBLAS_INLINE
matrix_vector_slice
minus_assign (const vector_expression< AE > &ae)
 
template<class AT >
BOOST_UBLAS_INLINE
matrix_vector_slice
operator*= (const AT &at)
 
template<class AT >
BOOST_UBLAS_INLINE
matrix_vector_slice
operator/= (const AT &at)
 
BOOST_UBLAS_INLINE bool same_closure (const matrix_vector_slice &mvs) const
 
BOOST_UBLAS_INLINE bool operator== (const matrix_vector_slice &mvs) const
 
BOOST_UBLAS_INLINE void swap (matrix_vector_slice mvs)
 
BOOST_UBLAS_INLINE const_iterator find (size_type i) const
 
BOOST_UBLAS_INLINE iterator find (size_type i)
 
BOOST_UBLAS_INLINE const_iterator begin () const
 
BOOST_UBLAS_INLINE const_iterator cbegin () const
 
BOOST_UBLAS_INLINE const_iterator end () const
 
BOOST_UBLAS_INLINE const_iterator cend () const
 
BOOST_UBLAS_INLINE iterator begin ()
 
BOOST_UBLAS_INLINE iterator end ()
 
BOOST_UBLAS_INLINE
const_reverse_iterator 
rbegin () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator 
crbegin () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator 
rend () const
 
BOOST_UBLAS_INLINE
const_reverse_iterator 
crend () const
 
BOOST_UBLAS_INLINE reverse_iterator rbegin ()
 
BOOST_UBLAS_INLINE reverse_iterator rend ()
 
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_vector_slice mvs1, matrix_vector_slice mvs2)
 

Member Typedef Documentation

template<class M >
typedef M::const_reference boost::numeric::ublas::matrix_vector_slice< M >::const_reference
template<class M >
typedef reverse_iterator_base<const_iterator> boost::numeric::ublas::matrix_vector_slice< M >::const_reverse_iterator
template<class M >
typedef M::difference_type boost::numeric::ublas::matrix_vector_slice< 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_vector_slice< M >::matrix_closure_type
template<class M >
typedef M boost::numeric::ublas::matrix_vector_slice< M >::matrix_type
template<class M >
typedef boost::mpl::if_<boost::is_const<M>, typename M::const_reference, typename M::reference>::type boost::numeric::ublas::matrix_vector_slice< M >::reference
template<class M >
typedef reverse_iterator_base<iterator> boost::numeric::ublas::matrix_vector_slice< M >::reverse_iterator
template<class M >
typedef M::size_type boost::numeric::ublas::matrix_vector_slice< M >::size_type
template<class M >
typedef M::value_type boost::numeric::ublas::matrix_vector_slice< M >::value_type

Constructor & Destructor Documentation

template<class M >
BOOST_UBLAS_INLINE boost::numeric::ublas::matrix_vector_slice< M >::matrix_vector_slice ( matrix_type data,
const slice_type s1,
const slice_type s2 
)
inline

Member Function Documentation

template<class M >
template<class AE >
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::assign ( const vector_expression< AE > &  ae)
inline
template<class M >
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::assign_temporary ( matrix_vector_slice< M > &  mvs)
inline
template<class M >
BOOST_UBLAS_INLINE iterator boost::numeric::ublas::matrix_vector_slice< M >::begin ( void  )
inline
template<class M >
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::matrix_vector_slice< M >::cbegin ( ) const
inline
template<class M >
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::matrix_vector_slice< M >::cend ( ) const
inline
template<class M >
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::matrix_vector_slice< M >::crbegin ( ) const
inline
template<class M >
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::matrix_vector_slice< M >::crend ( ) const
inline
template<class M >
BOOST_UBLAS_INLINE const matrix_closure_type& boost::numeric::ublas::matrix_vector_slice< M >::data ( ) const
inline
template<class M >
BOOST_UBLAS_INLINE matrix_closure_type& boost::numeric::ublas::matrix_vector_slice< M >::data ( )
inline
template<class M >
template<class AE >
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::minus_assign ( const vector_expression< AE > &  ae)
inline
BOOST_UBLAS_INLINE const expression_type& boost::numeric::ublas::vector_expression< matrix_vector_slice< M > >::operator() ( ) const
inlineinherited
BOOST_UBLAS_INLINE expression_type& boost::numeric::ublas::vector_expression< matrix_vector_slice< M > >::operator() ( )
inlineinherited
template<class M >
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::matrix_vector_slice< M >::operator() ( size_type  i) const
inline
template<class M >
BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix_vector_slice< M >::operator() ( size_type  i)
inline
template<class M >
template<class AT >
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::operator*= ( const AT &  at)
inline

References boost::xpressive::at.

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

References boost::detail::type.

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

References boost::detail::type.

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

References boost::xpressive::at.

template<class M >
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::operator= ( const matrix_vector_slice< M > &  mvs)
inline

References boost::detail::type.

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

References boost::detail::type.

template<class M >
BOOST_UBLAS_INLINE bool boost::numeric::ublas::matrix_vector_slice< M >::operator== ( const matrix_vector_slice< M > &  mvs) const
inline
template<class M >
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::matrix_vector_slice< M >::operator[] ( size_type  i) const
inline
template<class M >
BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix_vector_slice< M >::operator[] ( size_type  i)
inline
template<class M >
template<class AE >
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::plus_assign ( const vector_expression< AE > &  ae)
inline
template<class M >
BOOST_UBLAS_INLINE reverse_iterator boost::numeric::ublas::matrix_vector_slice< M >::rbegin ( )
inline
template<class M >
BOOST_UBLAS_INLINE reverse_iterator boost::numeric::ublas::matrix_vector_slice< M >::rend ( )
inline
template<class M >
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_vector_slice< M >::start1 ( ) const
inline
template<class M >
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_vector_slice< M >::start2 ( ) const
inline
template<class M >
BOOST_UBLAS_INLINE difference_type boost::numeric::ublas::matrix_vector_slice< M >::stride1 ( ) const
inline
template<class M >
BOOST_UBLAS_INLINE difference_type boost::numeric::ublas::matrix_vector_slice< M >::stride2 ( ) const
inline
template<class M >
BOOST_UBLAS_INLINE void boost::numeric::ublas::matrix_vector_slice< M >::swap ( matrix_vector_slice< M >  mvs)
inline

Friends And Related Function Documentation

template<class M >
BOOST_UBLAS_INLINE friend void swap ( matrix_vector_slice< M >  mvs1,
matrix_vector_slice< M >  mvs2 
)
friend

Member Data Documentation

const unsigned boost::numeric::ublas::vector_expression< matrix_vector_slice< M > >::complexity
staticinherited

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