numpy
2.0.0
|
Go to the source code of this file.
Functions | |
NPY_NO_EXPORT int | parse_index (PyArrayObject *self, PyObject *op, npy_intp *out_dimensions, npy_intp *out_strides, npy_intp *out_offset) |
NPY_NO_EXPORT PyObject * | iter_subscript (PyArrayIterObject *, PyObject *) |
NPY_NO_EXPORT int | iter_ass_subscript (PyArrayIterObject *, PyObject *, PyObject *) |
NPY_NO_EXPORT int | slice_GetIndices (PySliceObject *r, npy_intp length, npy_intp *start, npy_intp *stop, npy_intp *step, npy_intp *slicelength) |
NPY_NO_EXPORT int iter_ass_subscript | ( | PyArrayIterObject * | , |
PyObject * | , | ||
PyObject * | |||
) |
References PyArrayIterObject_tag::dataptr, ELLIPSIS_INDEX, PyArrayIterObject_tag::index, NEWAXIS_INDEX, parse_index_entry(), PyArray_DATA, PyArray_ITER_GOTO1D, PyArray_ITER_NEXT, PyArray_ITER_RESET, SINGLE_INDEX, and PyArrayIterObject_tag::size.
NPY_NO_EXPORT PyObject* iter_subscript | ( | PyArrayIterObject * | self, |
PyObject * | ind | ||
) |
<
<
Referenced by iter_subscript_int().
NPY_NO_EXPORT int parse_index | ( | PyArrayObject * | self, |
PyObject * | op, | ||
npy_intp * | out_dimensions, | ||
npy_intp * | out_strides, | ||
npy_intp * | out_offset | ||
) |
References ELLIPSIS_INDEX, NEWAXIS_INDEX, parse_index_entry(), PyArray_DIMS, PyArray_NDIM, PyArray_STRIDES, and SINGLE_INDEX.
Referenced by fancy_indexing_check().
NPY_NO_EXPORT int slice_GetIndices | ( | PySliceObject * | r, |
npy_intp | length, | ||
npy_intp * | start, | ||
npy_intp * | stop, | ||
npy_intp * | step, | ||
npy_intp * | slicelength | ||
) |
Referenced by _nonzero_indices(), and parse_index_entry().