3 #include <boost/numeric/ublas/matrix_expression.hpp>
10 template <
typename MatrixType>
18 template <
typename OrientationCategory>
46 class matrix_transposed:
public boost::numeric::ublas::matrix_expression <matrix_transposed <M> >
55 typedef typename boost::mpl::if_ <boost::is_const <M>,
typename M::const_reference,
typename M::reference>::type
reference;
56 typedef typename boost::mpl::if_ <boost::is_const <M>,
typename M::const_closure_type,
typename M::closure_type>::type
matrix_closure_type;
132 typedef boost::numeric::ublas::indexed_iterator1 <self_type, typename matrix_type::iterator2::iterator_category>
iterator1;
133 typedef boost::numeric::ublas::indexed_iterator2 <self_type, typename matrix_type::iterator1::iterator_category>
iterator2;
134 typedef boost::numeric::ublas::indexed_const_iterator1 <self_type, typename matrix_type::const_iterator2::iterator_category>
136 typedef boost::numeric::ublas::indexed_const_iterator2 <self_type, typename matrix_type::const_iterator1::iterator_category>
147 template <
typename MatrixType>
162 template <
typename MatrixType>
165 matrix(row, column) = value;
172 template <
typename MatrixType>
189 template <
typename MatrixType>
Definition: matrix_transposed.hpp:47
M::storage_category storage_category
Definition: matrix_transposed.hpp:60
matrix_transposed< M > self_type
Definition: matrix_transposed.hpp:49
self_type closure_type
Definition: matrix_transposed.hpp:58
boost::numeric::ublas::indexed_iterator1< self_type, typename matrix_type::iterator2::iterator_category > iterator1
Definition: matrix_transposed.hpp:132
M::value_type value_type
Definition: matrix_transposed.hpp:53
M matrix_type
Definition: matrix_transposed.hpp:50
M::difference_type difference_type
Definition: matrix_transposed.hpp:52
boost::numeric::ublas::indexed_iterator2< self_type, typename matrix_type::iterator1::iterator_category > iterator2
Definition: matrix_transposed.hpp:133
boost::numeric::ublas::indexed_const_iterator2< self_type, typename matrix_type::const_iterator1::iterator_category > const_iterator2
Definition: matrix_transposed.hpp:137
boost::numeric::ublas::indexed_const_iterator1< self_type, typename matrix_type::const_iterator2::iterator_category > const_iterator1
Definition: matrix_transposed.hpp:135
const self_type const_closure_type
Definition: matrix_transposed.hpp:57
M::size_type size_type
Definition: matrix_transposed.hpp:51
matrix_type & data()
Definition: matrix_transposed.hpp:101
size_type size1() const
Definition: matrix_transposed.hpp:83
M::const_reference const_reference
Definition: matrix_transposed.hpp:54
matrix_transposed(matrix_type &matrix)
Definition: matrix_transposed.hpp:73
const_reference operator()(size_type i, size_type j) const
Definition: matrix_transposed.hpp:114
size_type size2() const
Definition: matrix_transposed.hpp:92
boost::mpl::if_< boost::is_const< M >, typename M::const_reference, typename M::reference >::type reference
Definition: matrix_transposed.hpp:55
detail::transpose_orientation< typename M::orientation_category >::orientation_category orientation_category
Definition: matrix_transposed.hpp:59
boost::mpl::if_< boost::is_const< M >, typename M::const_closure_type, typename M::closure_type >::type matrix_closure_type
Definition: matrix_transposed.hpp:56
#define CMR_UNUSED(x)
Definition: env.h:24
Definition: matroid_graph.hpp:26
Definition: algorithm.hpp:14
matrix_transposed< MatrixType > make_transposed_matrix(MatrixType &matrix)
Definition: matrix_transposed.hpp:148
void matrix_set_value(matrix_permuted< MatrixType > &matrix, size_t row, size_t column, typename MatrixType::value_type value)
Definition: matrix_permuted.hpp:168
void matrix_binary_pivot(matrix_permuted< MatrixType > &matrix, size_t i, size_t j)
Definition: matrix_permuted.hpp:224
boost::numeric::ublas::row_major_tag orientation_category
Definition: matrix_transposed.hpp:37
boost::numeric::ublas::column_major_tag orientation_category
Definition: matrix_transposed.hpp:29
Helper struct to manage orientation tags.
Definition: matrix_transposed.hpp:20
boost::numeric::ublas::unknown_orientation_tag orientation_category
Definition: matrix_transposed.hpp:21