24#ifndef MORPHEUS_SORT_HPP
25#define MORPHEUS_SORT_HPP
27#include <impl/Morpheus_Sort_Impl.hpp>
31template <
typename ExecSpace,
typename Matrix>
32void sort_by_row_and_column(Matrix& mat,
33 typename Matrix::index_type min_row = 0,
34 typename Matrix::index_type max_row = 0,
35 typename Matrix::index_type min_col = 0,
36 typename Matrix::index_type max_col = 0) {
37 Impl::sort_by_row_and_column<ExecSpace>(mat, min_row, max_row, min_col,
41template <
typename ExecSpace,
typename Matrix>
42bool is_sorted(Matrix& mat) {
43 return Impl::is_sorted<ExecSpace>(mat);
Generic Morpheus interfaces.
Definition: dummy.cpp:24