![]() |
CMR
1.3.0
|
#include <matrix_permuted.hpp>
Public Types | |
| typedef matrix_permuted< M > | self_type |
| 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 const self_type | const_closure_type |
| typedef self_type | closure_type |
| typedef permutation | permutation_type |
| typedef M::orientation_category | orientation_category |
| typedef M::storage_category | storage_category |
| typedef boost::numeric::ublas::detail::indexed_iterator1< self_type, typename matrix_type::iterator1::iterator_category > | iterator1 |
| typedef boost::numeric::ublas::detail::indexed_iterator2< self_type, typename matrix_type::iterator2::iterator_category > | iterator2 |
| typedef boost::numeric::ublas::detail::indexed_const_iterator1< self_type, typename matrix_type::const_iterator1::iterator_category > | const_iterator1 |
| typedef boost::numeric::ublas::detail::indexed_const_iterator2< self_type, typename matrix_type::const_iterator2::iterator_category > | const_iterator2 |
Public Member Functions | |
| matrix_permuted (matrix_type &matrix) | |
| size_type | size1 () const |
| size_type | size2 () const |
| const permutation_type & | perm1 () const |
| permutation_type & | perm1 () |
| const permutation_type & | perm2 () const |
| permutation_type & | perm2 () |
| const_reference | operator() (size_type i, size_type j) const |
| reference | operator() (size_type i, size_type j) |
| matrix_type & | data () |
| const matrix_type & | data () const |
A matrix proxy with permuted rows and columns.
| typedef self_type tu::matrix_permuted< M >::closure_type |
| typedef const self_type tu::matrix_permuted< M >::const_closure_type |
| typedef boost::numeric::ublas::detail::indexed_const_iterator1<self_type, typename matrix_type::const_iterator1::iterator_category> tu::matrix_permuted< M >::const_iterator1 |
| typedef boost::numeric::ublas::detail::indexed_const_iterator2<self_type, typename matrix_type::const_iterator2::iterator_category> tu::matrix_permuted< M >::const_iterator2 |
| typedef M::const_reference tu::matrix_permuted< M >::const_reference |
| typedef M::difference_type tu::matrix_permuted< M >::difference_type |
| typedef boost::numeric::ublas::detail::indexed_iterator1<self_type, typename matrix_type::iterator1::iterator_category> tu::matrix_permuted< M >::iterator1 |
| typedef boost::numeric::ublas::detail::indexed_iterator2<self_type, typename matrix_type::iterator2::iterator_category> tu::matrix_permuted< M >::iterator2 |
| typedef boost::mpl::if_<boost::is_const <M>, typename M::const_closure_type, typename M::closure_type>::type tu::matrix_permuted< M >::matrix_closure_type |
| typedef M tu::matrix_permuted< M >::matrix_type |
| typedef M::orientation_category tu::matrix_permuted< M >::orientation_category |
| typedef permutation tu::matrix_permuted< M >::permutation_type |
| typedef boost::mpl::if_<boost::is_const <M>, typename M::const_reference, typename M::reference>::type tu::matrix_permuted< M >::reference |
| typedef matrix_permuted<M> tu::matrix_permuted< M >::self_type |
| typedef M::size_type tu::matrix_permuted< M >::size_type |
| typedef M::storage_category tu::matrix_permuted< M >::storage_category |
| typedef M::value_type tu::matrix_permuted< M >::value_type |
|
inline |
Constructs the matrix proxy.
| matrix | The original matrix |
|
inline |
|
inline |
|
inline |
Access operator
| i | Row index |
| j | Column index |
|
inline |
Read-only access operator
| i | Row index |
| j | Column index |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |