#ifndef PYTHONIC_INCLUDE_NUMPY_SORT_HPP #define PYTHONIC_INCLUDE_NUMPY_SORT_HPP #include #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/types/ndarray.hpp" #include "pythonic/include/types/str.hpp" PYTHONIC_NS_BEGIN namespace numpy { template types::ndarray> sort(E const &expr, types::none_type); template types::ndarray> sort(E const &expr, long axis = -1); template types::ndarray> sort(E const &expr, long axis, types::str const &kind); NUMPY_EXPR_TO_NDARRAY0_DECL(sort); DEFINE_FUNCTOR(pythonic::numpy, sort); } PYTHONIC_NS_END #endif