17 template <
typename Matro
idType,
typename MatrixType>
23 size_t target_row = p(row);
26 p.
rswap(row, target_row);
39 template <
typename Matro
idType,
typename MatrixType>
59 template <
typename Matro
idType,
typename MatrixType,
typename ElementLess>
61 size_t column_beyond, ElementLess element_less)
64 matrix_reorder_rows(matrix, row_first, row_beyond, column_first, column_beyond, element_less, perm);
80 template <
typename Matro
idType,
typename MatrixType,
typename ElementLess>
82 size_t column_beyond, ElementLess element_less)
86 matroid_reorder_rows(transposed_matroid, transposed_matrix, column_first, column_beyond, row_first, row_beyond, element_less);
Definition: matrix_transposed.hpp:47
Definition: matroid_transposed.hpp:14
Definition: matroid.hpp:22
size_t size1() const
Definition: matroid.hpp:77
Definition: permutations.hpp:44
void rswap(value_type a, value_type b)
Definition: permutations.hpp:199
Definition: algorithm.hpp:14
void matroid_reorder_columns(MatroidType &matroid, MatrixType &matrix, size_t row_first, size_t row_beyond, size_t column_first, size_t column_beyond, ElementLess element_less)
Definition: matroid_reorder.hpp:81
void matroid_apply_row_permutation(MatroidType &matroid, MatrixType &matrix, const permutation &perm)
Definition: matroid_reorder.hpp:18
void matroid_permute1(matroid< NameType > &matroid, size_t index1, size_t index2)
Definition: matroid.hpp:162
void matrix_reorder_rows(const MatrixType &matrix, size_t row_first, size_t row_beyond, size_t column_first, size_t column_beyond, ElementLess element_less, permutation &result_permutation)
Definition: matrix_reorder.hpp:110
void matroid_apply_column_permutation(MatroidType &matroid, MatrixType &matrix, const permutation &perm)
Definition: matroid_reorder.hpp:40
void matroid_reorder_rows(MatroidType &matroid, MatrixType &matrix, size_t row_first, size_t row_beyond, size_t column_first, size_t column_beyond, ElementLess element_less)
Definition: matroid_reorder.hpp:60