#ifndef PYTHONIC_INCLUDE_NUMPY_CLIP_HPP #define PYTHONIC_INCLUDE_NUMPY_CLIP_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/types/ndarray.hpp" PYTHONIC_NS_BEGIN namespace numpy { namespace wrapper { template typename __combined::type clip(T const &v, Mi a_min, Ma a_max); template typename __combined::type clip(T const &v, Mi a_min); } #define NUMPY_NARY_FUNC_NAME clip #define NUMPY_NARY_FUNC_SYM wrapper::clip #include "pythonic/include/types/numpy_nary_expr.hpp" } PYTHONIC_NS_END #endif