%PDF- %PDF-
Direktori : /lib/python3/dist-packages/pythran/pythonic/numpy/ |
Current File : //lib/python3/dist-packages/pythran/pythonic/numpy/isposinf.hpp |
#ifndef PYTHONIC_NUMPY_ISPOSINF_HPP #define PYTHONIC_NUMPY_ISPOSINF_HPP #include "pythonic/include/numpy/isposinf.hpp" #include "pythonic/utils/functor.hpp" #include "pythonic/types/ndarray.hpp" #include "pythonic/utils/numpy_traits.hpp" #include "pythonic/numpy/isinf.hpp" PYTHONIC_NS_BEGIN namespace numpy { namespace wrapper { template <class T> auto isposinf(T const &t) -> decltype(functor::isinf{}(t) && t >= 0) { return functor::isinf{}(t) && t >= 0; } } #define NUMPY_NARY_FUNC_NAME isposinf #define NUMPY_NARY_FUNC_SYM wrapper::isposinf #include "pythonic/types/numpy_nary_expr.hpp" } PYTHONIC_NS_END #endif