#ifndef PYTHONIC_NUMPY_EMPTY_HPP #define PYTHONIC_NUMPY_EMPTY_HPP #include "pythonic/include/numpy/empty.hpp" #include "pythonic/utils/functor.hpp" #include "pythonic/types/ndarray.hpp" PYTHONIC_NS_BEGIN namespace numpy { template types::ndarray> empty(pS const &shape, dtype) { return {(sutils::shape_t)shape, builtins::None}; } template types::ndarray> empty(long size, dtype d) { return empty(types::pshape(size), d); } template types::ndarray>> empty(std::integral_constant, dtype d) { return empty(types::pshape>({}), d); } } PYTHONIC_NS_END #endif