numpy 2.0.0
|
00001 #ifndef _NPY_ARRAYITERATORS_H_ 00002 #define _NPY_ARRAYITERATORS_H_ 00003 00004 NPY_NO_EXPORT intp 00005 parse_subindex(PyObject *op, intp *step_size, intp *n_steps, intp max); 00006 00007 NPY_NO_EXPORT int 00008 parse_index(PyArrayObject *self, PyObject *op, 00009 intp *dimensions, intp *strides, intp *offset_ptr); 00010 00011 NPY_NO_EXPORT PyObject 00012 *iter_subscript(PyArrayIterObject *, PyObject *); 00013 00014 NPY_NO_EXPORT int 00015 iter_ass_subscript(PyArrayIterObject *, PyObject *, PyObject *); 00016 00017 NPY_NO_EXPORT int 00018 slice_GetIndices(PySliceObject *r, intp length, 00019 intp *start, intp *stop, intp *step, 00020 intp *slicelength); 00021 00022 #endif