#ifndef UFUNC_NAME #error missing UFUNC_NAME #endif // clang-format off #include INCLUDE_FILE(pythonic/numpy,UFUNC_NAME) // clang-format on #include #include "pythonic/utils/functor.hpp" PYTHONIC_NS_BEGIN namespace numpy { namespace UFUNC_NAME { template auto accumulate(T &&a, long axis, dtype d) -> decltype(partial_sum(std::forward(a), axis, d)) { return partial_sum(std::forward(a), axis, d); } } } PYTHONIC_NS_END