#ifndef PYTHONIC_INCLUDE_NUMPY_EDIFF1D_HPP #define PYTHONIC_INCLUDE_NUMPY_EDIFF1D_HPP #include "pythonic/include/numpy/asarray.hpp" PYTHONIC_NS_BEGIN namespace numpy { template types::ndarray> ediff1d(E const &expr); template auto ediff1d(types::list const &expr) -> decltype(ediff1d(asarray(expr))); DEFINE_FUNCTOR(pythonic::numpy, ediff1d); } PYTHONIC_NS_END #endif