#ifndef PYTHONIC_INCLUDE_NUMPY_APPEND_HPP #define PYTHONIC_INCLUDE_NUMPY_APPEND_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/types/ndarray.hpp" PYTHONIC_NS_BEGIN namespace numpy { template typename std::enable_if< !types::is_dtype::value, types::ndarray< typename __combined::type>::type, types::pshape>>::type append(types::ndarray const &nto, F const &data); template typename std::enable_if< types::is_dtype::value, types::ndarray< typename __combined::type>::type, types::pshape>>::type append(types::ndarray const &nto, F const &data); template types::ndarray::type, typename types::dtype_of::type>::type, types::pshape> append(T const &to, F const &data); DEFINE_FUNCTOR(pythonic::numpy, append); } PYTHONIC_NS_END #endif