#ifndef PYTHONIC_INCLUDE_NUMPY_REPEAT_HPP #define PYTHONIC_INCLUDE_NUMPY_REPEAT_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/utils/numpy_conversion.hpp" #include "pythonic/include/types/ndarray.hpp" #include "pythonic/include/builtins/None.hpp" PYTHONIC_NS_BEGIN namespace numpy { template types::ndarray::value>> repeat(types::ndarray const &expr, long repeats, long axis); template types::ndarray> repeat(types::ndarray const &expr, long repeats, types::none_type axis = types::none_type{}); NUMPY_EXPR_TO_NDARRAY0_DECL(repeat); DEFINE_FUNCTOR(pythonic::numpy, repeat); } PYTHONIC_NS_END #endif