#ifndef PYTHONIC_NUMPY_TAKE_HPP #define PYTHONIC_NUMPY_TAKE_HPP #include "pythonic/include/numpy/take.hpp" PYTHONIC_NS_BEGIN namespace numpy { template auto take(T &&expr, F &&indices) -> decltype(std::forward(expr)[std::forward(indices)]) { return expr[indices]; } } PYTHONIC_NS_END #endif