|
numpy 2.0.0
|
#include <Python.h>#include "structmember.h"#include "numpy/arrayobject.h"#include "npy_config.h"#include "numpy/npy_3kcompat.h"#include "common.h"#include "scalartypes.h"#include "descriptor.h"#include "getset.h"Defines | |
| #define | PY_SSIZE_T_CLEAN |
| #define | NPY_NO_DEPRECATED_API |
| #define | _MULTIARRAYMODULE |
| #define | NPY_NO_PREFIX |
Functions | |
| static PyObject * | array_ndim_get (PyArrayObject *self) |
| static PyObject * | array_flags_get (PyArrayObject *self) |
| static PyObject * | array_shape_get (PyArrayObject *self) |
| static int | array_shape_set (PyArrayObject *self, PyObject *val) |
| static PyObject * | array_strides_get (PyArrayObject *self) |
| static int | array_strides_set (PyArrayObject *self, PyObject *obj) |
| static PyObject * | array_priority_get (PyArrayObject *self) |
| static PyObject * | array_typestr_get (PyArrayObject *self) |
| static PyObject * | array_descr_get (PyArrayObject *self) |
| static PyObject * | array_protocol_descr_get (PyArrayObject *self) |
| static PyObject * | array_protocol_strides_get (PyArrayObject *self) |
| static PyObject * | array_dataptr_get (PyArrayObject *self) |
| static PyObject * | array_ctypes_get (PyArrayObject *self) |
| static PyObject * | array_interface_get (PyArrayObject *self) |
| static PyObject * | array_data_get (PyArrayObject *self) |
| static int | array_data_set (PyArrayObject *self, PyObject *op) |
| static PyObject * | array_itemsize_get (PyArrayObject *self) |
| static PyObject * | array_size_get (PyArrayObject *self) |
| static PyObject * | array_nbytes_get (PyArrayObject *self) |
| static int | array_descr_set (PyArrayObject *self, PyObject *arg) |
| static PyObject * | array_struct_get (PyArrayObject *self) |
| static PyObject * | array_base_get (PyArrayObject *self) |
| static PyArrayObject * | _get_part (PyArrayObject *self, int imag) |
| static PyObject * | array_real_get (PyArrayObject *self) |
| static int | array_real_set (PyArrayObject *self, PyObject *val) |
| static PyObject * | array_imag_get (PyArrayObject *self) |
| static int | array_imag_set (PyArrayObject *self, PyObject *val) |
| static PyObject * | array_flat_get (PyArrayObject *self) |
| static int | array_flat_set (PyArrayObject *self, PyObject *val) |
| static PyObject * | array_transpose_get (PyArrayObject *self) |
| static PyObject * | array_finalize_get (PyArrayObject *NPY_UNUSED(self)) |
Variables | |
| NPY_NO_EXPORT PyGetSetDef | array_getsetlist [] |
| #define _MULTIARRAYMODULE |
| #define NPY_NO_DEPRECATED_API |
| #define NPY_NO_PREFIX |
| #define PY_SSIZE_T_CLEAN |
| static PyArrayObject* _get_part | ( | PyArrayObject * | self, |
| int | imag | ||
| ) | [static] |
Referenced by array_real_get().
| static PyObject* array_base_get | ( | PyArrayObject * | self | ) | [static] |
References PyArray_DescrNew().
| static PyObject* array_ctypes_get | ( | PyArrayObject * | self | ) | [static] |
References array_dataptr_get(), and array_protocol_strides_get().
| static PyObject* array_data_get | ( | PyArrayObject * | self | ) | [static] |
| static int array_data_set | ( | PyArrayObject * | self, |
| PyObject * | op | ||
| ) | [static] |
| static PyObject* array_dataptr_get | ( | PyArrayObject * | self | ) | [static] |
Referenced by array_ctypes_get().
| static PyObject* array_descr_get | ( | PyArrayObject * | self | ) | [static] |
Referenced by array_transpose_get().
| static int array_descr_set | ( | PyArrayObject * | self, |
| PyObject * | arg | ||
| ) | [static] |
Referenced by array_transpose_get().
| static PyObject* array_finalize_get | ( | PyArrayObject * | NPY_UNUSEDself | ) | [static] |
| static PyObject* array_flags_get | ( | PyArrayObject * | self | ) | [static] |
| static PyObject* array_flat_get | ( | PyArrayObject * | self | ) | [static] |
| static int array_flat_set | ( | PyArrayObject * | self, |
| PyObject * | val | ||
| ) | [static] |
| static PyObject* array_imag_get | ( | PyArrayObject * | self | ) | [static] |
| static int array_imag_set | ( | PyArrayObject * | self, |
| PyObject * | val | ||
| ) | [static] |
| static PyObject* array_interface_get | ( | PyArrayObject * | self | ) | [static] |
| static PyObject* array_itemsize_get | ( | PyArrayObject * | self | ) | [static] |
| static PyObject* array_nbytes_get | ( | PyArrayObject * | self | ) | [static] |
References NPY_ITEM_HASOBJECT, NPY_ITEM_IS_POINTER, PyArray_DescrConverter(), and PyDataType_FLAGCHK.
| static PyObject* array_ndim_get | ( | PyArrayObject * | self | ) | [static] |
| static PyObject* array_priority_get | ( | PyArrayObject * | self | ) | [static] |
| static PyObject* array_protocol_descr_get | ( | PyArrayObject * | self | ) | [static] |
| static PyObject* array_protocol_strides_get | ( | PyArrayObject * | self | ) | [static] |
Referenced by array_ctypes_get().
| static PyObject* array_real_get | ( | PyArrayObject * | self | ) | [static] |
References _get_part(), Py_TYPE, PyArray_ISCOMPLEX, PyArray_ISFORTRAN, and PyArray_NewFromDescr().
| static int array_real_set | ( | PyArrayObject * | self, |
| PyObject * | val | ||
| ) | [static] |
| static PyObject* array_shape_get | ( | PyArrayObject * | self | ) | [static] |
| static int array_shape_set | ( | PyArrayObject * | self, |
| PyObject * | val | ||
| ) | [static] |
| static PyObject* array_size_get | ( | PyArrayObject * | self | ) | [static] |
| static PyObject* array_strides_get | ( | PyArrayObject * | self | ) | [static] |
| static int array_strides_set | ( | PyArrayObject * | self, |
| PyObject * | obj | ||
| ) | [static] |
| static PyObject* array_struct_get | ( | PyArrayObject * | self | ) | [static] |
References ARR_HAS_DESCR, arraydescr_protocol_descr_get(), PyArrayInterface::descr, and PyArrayInterface::flags.
| static PyObject* array_transpose_get | ( | PyArrayObject * | self | ) | [static] |
References array_descr_get(), and array_descr_set().
| static PyObject* array_typestr_get | ( | PyArrayObject * | self | ) | [static] |
References arraydescr_protocol_descr_get().
| NPY_NO_EXPORT PyGetSetDef array_getsetlist[] |