#ifndef PYTHONIC_INCLUDE_NUMPY_ARRAYSPLIT_HPP #define PYTHONIC_INCLUDE_NUMPY_ARRAYSPLIT_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/types/ndarray.hpp" PYTHONIC_NS_BEGIN namespace numpy { template types::list::value>>> array_split(types::ndarray const &a, long nb_split); template typename std::enable_if< types::is_iterable::value, types::list::value>>>>::type array_split(types::ndarray const &a, I const &split_mask); NUMPY_EXPR_TO_NDARRAY0_DECL(array_split); DEFINE_FUNCTOR(pythonic::numpy, array_split); } PYTHONIC_NS_END #endif