#ifndef PYTHONIC_INCLUDE_NUMPY_ONES_HPP #define PYTHONIC_INCLUDE_NUMPY_ONES_HPP #include "pythonic/include/numpy/float64.hpp" #include "pythonic/include/utils/functor.hpp" #include "pythonic/include/types/ndarray.hpp" PYTHONIC_NS_BEGIN namespace numpy { template types::ndarray> ones(pS const &shape, dtype d = dtype()); template types::ndarray> ones(long size, dtype d = dtype()); template types::ndarray>> ones(std::integral_constant, dtype d = dtype()); DEFINE_FUNCTOR(pythonic::numpy, ones); } PYTHONIC_NS_END #endif