ndarray            13 python_bindings/numpy/ndarray.cpp NUMPY_OBJECT_MANAGER_TRAITS_IMPL(PyArray_Type, Halide::numpy::ndarray)
ndarray            22 python_bindings/numpy/ndarray.cpp ndarray::bitflag numpy_to_bitflag(int const f) {
ndarray            23 python_bindings/numpy/ndarray.cpp     ndarray::bitflag r = ndarray::NONE;
ndarray            24 python_bindings/numpy/ndarray.cpp     if (f & NPY_C_CONTIGUOUS) r = (r | ndarray::C_CONTIGUOUS);
ndarray            25 python_bindings/numpy/ndarray.cpp     if (f & NPY_F_CONTIGUOUS) r = (r | ndarray::F_CONTIGUOUS);
ndarray            26 python_bindings/numpy/ndarray.cpp     if (f & NPY_ALIGNED) r = (r | ndarray::ALIGNED);
ndarray            27 python_bindings/numpy/ndarray.cpp     if (f & NPY_WRITEABLE) r = (r | ndarray::WRITEABLE);
ndarray            31 python_bindings/numpy/ndarray.cpp int const bitflag_to_numpy(ndarray::bitflag f) {
ndarray            33 python_bindings/numpy/ndarray.cpp     if (f & ndarray::C_CONTIGUOUS) r |= NPY_C_CONTIGUOUS;
ndarray            34 python_bindings/numpy/ndarray.cpp     if (f & ndarray::F_CONTIGUOUS) r |= NPY_F_CONTIGUOUS;
ndarray            35 python_bindings/numpy/ndarray.cpp     if (f & ndarray::ALIGNED) r |= NPY_ALIGNED;
ndarray            36 python_bindings/numpy/ndarray.cpp     if (f & ndarray::WRITEABLE) r |= NPY_WRITEABLE;
ndarray            77 python_bindings/numpy/ndarray.cpp ndarray from_data_impl(void *data,
ndarray            96 python_bindings/numpy/ndarray.cpp ndarray from_data_impl(void *data,
ndarray           112 python_bindings/numpy/ndarray.cpp     ndarray r(python::detail::new_reference(PyArray_NewFromDescr(&PyArray_Type,
ndarray           126 python_bindings/numpy/ndarray.cpp ndarray ndarray::view(dtype const &dt) const {
ndarray           127 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyObject_CallMethod(this->ptr(), const_cast<char *>("view"), const_cast<char *>("O"), dt.ptr())));
ndarray           130 python_bindings/numpy/ndarray.cpp ndarray ndarray::astype(dtype const &dt) const {
ndarray           131 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyObject_CallMethod(this->ptr(), const_cast<char *>("astype"), const_cast<char *>("O"), dt.ptr())));
ndarray           134 python_bindings/numpy/ndarray.cpp ndarray ndarray::copy() const {
ndarray           135 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyObject_CallMethod(this->ptr(), const_cast<char *>("copy"), const_cast<char *>(""))));
ndarray           138 python_bindings/numpy/ndarray.cpp dtype ndarray::get_dtype() const {
ndarray           142 python_bindings/numpy/ndarray.cpp python::object ndarray::get_base() const {
ndarray           147 python_bindings/numpy/ndarray.cpp void ndarray::set_base(object const &base) {
ndarray           157 python_bindings/numpy/ndarray.cpp ndarray::bitflag const ndarray::get_flags() const {
ndarray           161 python_bindings/numpy/ndarray.cpp ndarray ndarray::transpose() const {
ndarray           162 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_Transpose(reinterpret_cast<PyArrayObject *>(this->ptr()), NULL)));
ndarray           165 python_bindings/numpy/ndarray.cpp ndarray ndarray::squeeze() const {
ndarray           166 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_Squeeze(reinterpret_cast<PyArrayObject *>(this->ptr()))));
ndarray           169 python_bindings/numpy/ndarray.cpp ndarray ndarray::reshape(python::tuple const &shape) const {
ndarray           170 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_Reshape(reinterpret_cast<PyArrayObject *>(this->ptr()), shape.ptr())));
ndarray           173 python_bindings/numpy/ndarray.cpp python::object ndarray::scalarize() const {
ndarray           178 python_bindings/numpy/ndarray.cpp ndarray zeros(python::tuple const &shape, dtype const &dt) {
ndarray           183 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_Zeros(nd, dims.get(), detail::incref_dtype(dt), 0)));
ndarray           186 python_bindings/numpy/ndarray.cpp ndarray zeros(int nd, Py_intptr_t const *shape, dtype const &dt) {
ndarray           187 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_Zeros(nd, const_cast<Py_intptr_t *>(shape), detail::incref_dtype(dt), 0)));
ndarray           190 python_bindings/numpy/ndarray.cpp ndarray empty(python::tuple const &shape, dtype const &dt) {
ndarray           195 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_Empty(nd, dims.get(), detail::incref_dtype(dt), 0)));
ndarray           198 python_bindings/numpy/ndarray.cpp ndarray empty(int nd, Py_intptr_t const *shape, dtype const &dt) {
ndarray           199 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_Empty(nd, const_cast<Py_intptr_t *>(shape), detail::incref_dtype(dt), 0)));
ndarray           202 python_bindings/numpy/ndarray.cpp ndarray array(python::object const &obj) {
ndarray           203 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_FromAny(obj.ptr(), NULL, 0, 0, NPY_ENSUREARRAY, NULL)));
ndarray           206 python_bindings/numpy/ndarray.cpp ndarray array(python::object const &obj, dtype const &dt) {
ndarray           207 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_FromAny(obj.ptr(), detail::incref_dtype(dt), 0, 0, NPY_ENSUREARRAY, NULL)));
ndarray           210 python_bindings/numpy/ndarray.cpp ndarray from_object(python::object const &obj, dtype const &dt, int nd_min, int nd_max, ndarray::bitflag flags) {
ndarray           212 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_FromAny(obj.ptr(),
ndarray           219 python_bindings/numpy/ndarray.cpp ndarray from_object(python::object const &obj, int nd_min, int nd_max, ndarray::bitflag flags) {
ndarray           221 python_bindings/numpy/ndarray.cpp     return ndarray(python::detail::new_reference(PyArray_FromAny(obj.ptr(),
ndarray            82 python_bindings/numpy/ndarray.hpp     BOOST_PYTHON_FORWARD_OBJECT_CONSTRUCTORS(ndarray, object);
ndarray            85 python_bindings/numpy/ndarray.hpp     ndarray view(dtype const &dt) const;
ndarray            88 python_bindings/numpy/ndarray.hpp     ndarray astype(dtype const &dt) const;
ndarray            91 python_bindings/numpy/ndarray.hpp     ndarray copy() const;
ndarray           129 python_bindings/numpy/ndarray.hpp     ndarray transpose() const;
ndarray           132 python_bindings/numpy/ndarray.hpp     ndarray squeeze() const;
ndarray           135 python_bindings/numpy/ndarray.hpp     ndarray reshape(python::tuple const &shape) const;
ndarray           149 python_bindings/numpy/ndarray.hpp ndarray zeros(python::tuple const &shape, dtype const &dt);
ndarray           150 python_bindings/numpy/ndarray.hpp ndarray zeros(int nd, Py_intptr_t const *shape, dtype const &dt);
ndarray           155 python_bindings/numpy/ndarray.hpp ndarray empty(python::tuple const &shape, dtype const &dt);
ndarray           156 python_bindings/numpy/ndarray.hpp ndarray empty(int nd, Py_intptr_t const *shape, dtype const &dt);
ndarray           163 python_bindings/numpy/ndarray.hpp ndarray array(python::object const &obj);
ndarray           164 python_bindings/numpy/ndarray.hpp ndarray array(python::object const &obj, dtype const &dt);
ndarray           168 python_bindings/numpy/ndarray.hpp ndarray from_data_impl(void *data,
ndarray           176 python_bindings/numpy/ndarray.hpp ndarray from_data_impl(void *data,
ndarray           188 python_bindings/numpy/ndarray.hpp ndarray from_data_impl(void *data,
ndarray           211 python_bindings/numpy/ndarray.hpp inline ndarray from_data(void *data,
ndarray           235 python_bindings/numpy/ndarray.hpp inline ndarray from_data(void const *data,
ndarray           253 python_bindings/numpy/ndarray.hpp ndarray from_object(python::object const &obj, dtype const &dt,
ndarray           254 python_bindings/numpy/ndarray.hpp                     int nd_min, int nd_max, ndarray::bitflag flags = ndarray::NONE);
ndarray           256 python_bindings/numpy/ndarray.hpp inline ndarray from_object(python::object const &obj, dtype const &dt,
ndarray           257 python_bindings/numpy/ndarray.hpp                            int nd, ndarray::bitflag flags = ndarray::NONE) {
ndarray           261 python_bindings/numpy/ndarray.hpp inline ndarray from_object(python::object const &obj, dtype const &dt, ndarray::bitflag flags = ndarray::NONE) {
ndarray           265 python_bindings/numpy/ndarray.hpp ndarray from_object(python::object const &obj, int nd_min, int nd_max,
ndarray           266 python_bindings/numpy/ndarray.hpp                     ndarray::bitflag flags = ndarray::NONE);
ndarray           268 python_bindings/numpy/ndarray.hpp inline ndarray from_object(python::object const &obj, int nd, ndarray::bitflag flags = ndarray::NONE) {
ndarray           272 python_bindings/numpy/ndarray.hpp inline ndarray from_object(python::object const &obj, ndarray::bitflag flags = ndarray::NONE) {
ndarray           276 python_bindings/numpy/ndarray.hpp inline ndarray::bitflag operator|(ndarray::bitflag a, ndarray::bitflag b) {
ndarray           277 python_bindings/numpy/ndarray.hpp     return ndarray::bitflag(int(a) | int(b));
ndarray           280 python_bindings/numpy/ndarray.hpp inline ndarray::bitflag operator&(ndarray::bitflag a, ndarray::bitflag b) {
ndarray           281 python_bindings/numpy/ndarray.hpp     return ndarray::bitflag(int(a) & int(b));
ndarray           291 python_bindings/numpy/ndarray.hpp NUMPY_OBJECT_MANAGER_TRAITS(Halide::numpy::ndarray);
ndarray           508 python_bindings/python/Image.cpp p::object ndarray_to_buffer(bn::ndarray &array) {
ndarray           523 python_bindings/python/Image.cpp bn::ndarray buffer_to_ndarray(p::object buffer_object) {