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