![]() |
Boost.uBlas 1.49
Linear Algebra in C++: matrices, vectors and numeric algorithms
|
#include <matrix_proxy.hpp>
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_slice< 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 basic_slice< size_type, difference_type > | slice_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_slice (matrix_type &data, const slice_type &s1, const slice_type &s2) |
template<class AE > | |
BOOST_UBLAS_INLINE matrix_vector_slice & | assign (const vector_expression< AE > &ae) |
BOOST_UBLAS_INLINE matrix_vector_slice & | assign_temporary (matrix_vector_slice &mvs) |
BOOST_UBLAS_INLINE const_iterator | begin () const |
BOOST_UBLAS_INLINE iterator | begin () |
BOOST_UBLAS_INLINE matrix_closure_type & | data () |
BOOST_UBLAS_INLINE const matrix_closure_type & | data () const |
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_slice & | minus_assign (const vector_expression< AE > &ae) |
BOOST_UBLAS_INLINE const_reference | operator() (size_type i) const |
BOOST_UBLAS_INLINE const expression_type & | operator() () const |
BOOST_UBLAS_INLINE expression_type & | operator() () |
BOOST_UBLAS_INLINE reference | operator() (size_type i) |
template<class AT > | |
BOOST_UBLAS_INLINE matrix_vector_slice & | operator*= (const AT &at) |
template<class AE > | |
BOOST_UBLAS_INLINE matrix_vector_slice & | operator+= (const vector_expression< AE > &ae) |
template<class AE > | |
BOOST_UBLAS_INLINE matrix_vector_slice & | operator-= (const vector_expression< AE > &ae) |
template<class AT > | |
BOOST_UBLAS_INLINE matrix_vector_slice & | operator/= (const AT &at) |
BOOST_UBLAS_INLINE matrix_vector_slice & | operator= (const matrix_vector_slice &mvs) |
template<class AE > | |
BOOST_UBLAS_INLINE matrix_vector_slice & | operator= (const vector_expression< AE > &ae) |
BOOST_UBLAS_INLINE bool | operator== (const matrix_vector_slice &mvs) const |
BOOST_UBLAS_INLINE const_reference | operator[] (size_type i) const |
BOOST_UBLAS_INLINE reference | operator[] (size_type i) |
template<class AE > | |
BOOST_UBLAS_INLINE matrix_vector_slice & | plus_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_vector_slice &mvs) 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 difference_type | stride1 () const |
BOOST_UBLAS_INLINE difference_type | stride2 () const |
BOOST_UBLAS_INLINE void | swap (matrix_vector_slice mvs) |
Static Public Attributes | |
static const unsigned | complexity |
Private Types | |
typedef slice_type::const_iterator | const_subiterator1_type |
typedef slice_type::const_iterator | const_subiterator2_type |
typedef matrix_vector_slice< M > | self_type |
typedef slice_type::const_iterator | subiterator1_type |
typedef slice_type::const_iterator | subiterator2_type |
Private Attributes | |
matrix_closure_type | data_ |
slice_type | s1_ |
slice_type | s2_ |
Friends | |
BOOST_UBLAS_INLINE friend void | swap (matrix_vector_slice mvs1, matrix_vector_slice mvs2) |
Definition at line 1396 of file matrix_proxy.hpp.
typedef matrix_vector_slice<M> boost::numeric::ublas::matrix_vector_slice< M >::self_type [private] |
Definition at line 1399 of file matrix_proxy.hpp.
typedef M boost::numeric::ublas::matrix_vector_slice< M >::matrix_type |
Definition at line 1404 of file matrix_proxy.hpp.
typedef M::size_type boost::numeric::ublas::matrix_vector_slice< M >::size_type |
Definition at line 1405 of file matrix_proxy.hpp.
typedef M::difference_type boost::numeric::ublas::matrix_vector_slice< M >::difference_type |
Definition at line 1406 of file matrix_proxy.hpp.
typedef M::value_type boost::numeric::ublas::matrix_vector_slice< M >::value_type |
Definition at line 1407 of file matrix_proxy.hpp.
typedef M::const_reference boost::numeric::ublas::matrix_vector_slice< M >::const_reference |
Definition at line 1408 of file matrix_proxy.hpp.
typedef boost::mpl::if_<boost::is_const<M>, typename M::const_reference, typename M::reference>::type boost::numeric::ublas::matrix_vector_slice< M >::reference |
Definition at line 1411 of file matrix_proxy.hpp.
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 |
Definition at line 1414 of file matrix_proxy.hpp.
typedef basic_range<size_type, difference_type> boost::numeric::ublas::matrix_vector_slice< M >::range_type |
Definition at line 1415 of file matrix_proxy.hpp.
typedef basic_slice<size_type, difference_type> boost::numeric::ublas::matrix_vector_slice< M >::slice_type |
Definition at line 1416 of file matrix_proxy.hpp.
typedef const self_type boost::numeric::ublas::matrix_vector_slice< M >::const_closure_type |
Definition at line 1417 of file matrix_proxy.hpp.
typedef self_type boost::numeric::ublas::matrix_vector_slice< M >::closure_type |
Definition at line 1418 of file matrix_proxy.hpp.
typedef storage_restrict_traits<typename M::storage_category, dense_proxy_tag>::storage_category boost::numeric::ublas::matrix_vector_slice< M >::storage_category |
Definition at line 1420 of file matrix_proxy.hpp.
typedef slice_type::const_iterator boost::numeric::ublas::matrix_vector_slice< M >::const_subiterator1_type [private] |
Definition at line 1588 of file matrix_proxy.hpp.
typedef slice_type::const_iterator boost::numeric::ublas::matrix_vector_slice< M >::subiterator1_type [private] |
Definition at line 1589 of file matrix_proxy.hpp.
typedef slice_type::const_iterator boost::numeric::ublas::matrix_vector_slice< M >::const_subiterator2_type [private] |
Definition at line 1590 of file matrix_proxy.hpp.
typedef slice_type::const_iterator boost::numeric::ublas::matrix_vector_slice< M >::subiterator2_type [private] |
Definition at line 1591 of file matrix_proxy.hpp.
typedef reverse_iterator_base<const_iterator> boost::numeric::ublas::matrix_vector_slice< M >::const_reverse_iterator |
Definition at line 1825 of file matrix_proxy.hpp.
typedef reverse_iterator_base<iterator> boost::numeric::ublas::matrix_vector_slice< M >::reverse_iterator |
Definition at line 1826 of file matrix_proxy.hpp.
typedef matrix_vector_slice< M > boost::numeric::ublas::vector_expression< matrix_vector_slice< M > >::expression_type [inherited] |
Reimplemented from boost::numeric::ublas::ublas_expression< matrix_vector_slice< M > >.
Definition at line 187 of file expression_types.hpp.
typedef vector_tag boost::numeric::ublas::vector_expression< matrix_vector_slice< M > >::type_category [inherited] |
Definition at line 188 of file expression_types.hpp.
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] |
Definition at line 1424 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_vector_slice< M >::start1 | ( | ) | const [inline] |
Definition at line 1435 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_vector_slice< M >::start2 | ( | ) | const [inline] |
Definition at line 1439 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE difference_type boost::numeric::ublas::matrix_vector_slice< M >::stride1 | ( | ) | const [inline] |
Definition at line 1443 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE difference_type boost::numeric::ublas::matrix_vector_slice< M >::stride2 | ( | ) | const [inline] |
Definition at line 1447 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE size_type boost::numeric::ublas::matrix_vector_slice< M >::size | ( | ) | const [inline] |
Definition at line 1451 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE const matrix_closure_type& boost::numeric::ublas::matrix_vector_slice< M >::data | ( | ) | const [inline] |
Definition at line 1457 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_closure_type& boost::numeric::ublas::matrix_vector_slice< M >::data | ( | ) | [inline] |
Definition at line 1461 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::matrix_vector_slice< M >::operator() | ( | size_type | i | ) | const [inline] |
Definition at line 1468 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix_vector_slice< M >::operator() | ( | size_type | i | ) | [inline] |
Definition at line 1472 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE const_reference boost::numeric::ublas::matrix_vector_slice< M >::operator[] | ( | size_type | i | ) | const [inline] |
Definition at line 1477 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE reference boost::numeric::ublas::matrix_vector_slice< M >::operator[] | ( | size_type | i | ) | [inline] |
Definition at line 1481 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::operator= | ( | const matrix_vector_slice< M > & | mvs | ) | [inline] |
Definition at line 1498 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::assign_temporary | ( | matrix_vector_slice< M > & | mvs | ) | [inline] |
Definition at line 1504 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::operator= | ( | const vector_expression< AE > & | ae | ) | [inline] |
Definition at line 1511 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::assign | ( | const vector_expression< AE > & | ae | ) | [inline] |
Definition at line 1517 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::operator+= | ( | const vector_expression< AE > & | ae | ) | [inline] |
Definition at line 1523 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::plus_assign | ( | const vector_expression< AE > & | ae | ) | [inline] |
Definition at line 1529 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::operator-= | ( | const vector_expression< AE > & | ae | ) | [inline] |
Definition at line 1535 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::minus_assign | ( | const vector_expression< AE > & | ae | ) | [inline] |
Definition at line 1541 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::operator*= | ( | const AT & | at | ) | [inline] |
Definition at line 1547 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE matrix_vector_slice& boost::numeric::ublas::matrix_vector_slice< M >::operator/= | ( | const AT & | at | ) | [inline] |
Definition at line 1553 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE bool boost::numeric::ublas::matrix_vector_slice< M >::same_closure | ( | const matrix_vector_slice< M > & | mvs | ) | const [inline] |
Definition at line 1560 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE bool boost::numeric::ublas::matrix_vector_slice< M >::operator== | ( | const matrix_vector_slice< M > & | mvs | ) | const [inline] |
Definition at line 1566 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE void boost::numeric::ublas::matrix_vector_slice< M >::swap | ( | matrix_vector_slice< M > | mvs | ) | [inline] |
Definition at line 1572 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::matrix_vector_slice< M >::find | ( | size_type | i | ) | const [inline] |
Definition at line 1599 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE iterator boost::numeric::ublas::matrix_vector_slice< M >::find | ( | size_type | i | ) | [inline] |
Definition at line 1603 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::matrix_vector_slice< M >::begin | ( | ) | const [inline] |
Definition at line 1709 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE const_iterator boost::numeric::ublas::matrix_vector_slice< M >::end | ( | ) | const [inline] |
Definition at line 1713 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE iterator boost::numeric::ublas::matrix_vector_slice< M >::begin | ( | ) | [inline] |
Definition at line 1816 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE iterator boost::numeric::ublas::matrix_vector_slice< M >::end | ( | ) | [inline] |
Definition at line 1820 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::matrix_vector_slice< M >::rbegin | ( | ) | const [inline] |
Definition at line 1829 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE const_reverse_iterator boost::numeric::ublas::matrix_vector_slice< M >::rend | ( | ) | const [inline] |
Definition at line 1833 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE reverse_iterator boost::numeric::ublas::matrix_vector_slice< M >::rbegin | ( | ) | [inline] |
Definition at line 1837 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE reverse_iterator boost::numeric::ublas::matrix_vector_slice< M >::rend | ( | ) | [inline] |
Definition at line 1841 of file matrix_proxy.hpp.
BOOST_UBLAS_INLINE const expression_type& boost::numeric::ublas::vector_expression< matrix_vector_slice< 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_slice< M > >::operator() | ( | ) | [inline, inherited] |
Definition at line 198 of file expression_types.hpp.
BOOST_UBLAS_INLINE friend void swap | ( | matrix_vector_slice< M > | mvs1, |
matrix_vector_slice< M > | mvs2 | ||
) | [friend] |
Definition at line 1581 of file matrix_proxy.hpp.
matrix_closure_type boost::numeric::ublas::matrix_vector_slice< M >::data_ [private] |
Definition at line 1846 of file matrix_proxy.hpp.
slice_type boost::numeric::ublas::matrix_vector_slice< M >::s1_ [private] |
Definition at line 1847 of file matrix_proxy.hpp.
slice_type boost::numeric::ublas::matrix_vector_slice< M >::s2_ [private] |
Definition at line 1848 of file matrix_proxy.hpp.
const unsigned boost::numeric::ublas::vector_expression< matrix_vector_slice< M > >::complexity [static, inherited] |
Definition at line 186 of file expression_types.hpp.