#ifndef PYTHONIC_INCLUDE_NUMPY_FREXP_HPP #define PYTHONIC_INCLUDE_NUMPY_FREXP_HPP #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/utils/numpy_conversion.hpp" #include "pythonic/include/types/traits.hpp" #include "pythonic/include/types/ndarray.hpp" PYTHONIC_NS_BEGIN namespace numpy { template typename std::enable_if::value, std::tuple>::type frexp(T val); template typename std::enable_if< !types::is_dtype::value, std::tuple, types::ndarray>>::type frexp(E const &arr); DEFINE_FUNCTOR(pythonic::numpy, frexp); } PYTHONIC_NS_END #endif