numpy 2.0.0
|
Go to the source code of this file.
Functions | |
NPY_NO_EXPORT intp | parse_subindex (PyObject *op, intp *step_size, intp *n_steps, intp max) |
NPY_NO_EXPORT int | parse_index (PyArrayObject *self, PyObject *op, intp *dimensions, intp *strides, intp *offset_ptr) |
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, intp length, intp *start, intp *stop, intp *step, intp *slicelength) |
NPY_NO_EXPORT int iter_ass_subscript | ( | PyArrayIterObject * | , |
PyObject * | , | ||
PyObject * | |||
) |
References PyArrayIterObject_tag::dataptr, PyArrayIterObject_tag::index, parse_subindex(), PseudoIndex, PyArray_DATA, PyArray_ITER_GOTO1D, PyArray_ITER_NEXT, PyArray_ITER_RESET, RubberIndex, SingleIndex, and PyArrayIterObject_tag::size.
NPY_NO_EXPORT PyObject* iter_subscript | ( | PyArrayIterObject * | self, |
PyObject * | ind | ||
) |
<
<
NPY_NO_EXPORT int parse_index | ( | PyArrayObject * | self, |
PyObject * | op, | ||
intp * | dimensions, | ||
intp * | strides, | ||
intp * | offset_ptr | ||
) |
References parse_subindex(), PseudoIndex, RubberIndex, and SingleIndex.
References error_converting, PseudoIndex, PyArray_PyIntAsIntp(), RubberIndex, SingleIndex, and slice_GetIndices().
Referenced by iter_ass_subscript(), and parse_index().
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 parse_subindex().