numpy
2.0.0
|
00001 #ifndef _NPY_ARRAYITERATORS_H_ 00002 #define _NPY_ARRAYITERATORS_H_ 00003 00004 /* 00005 * Parses an index that has no fancy indexing. Populates 00006 * out_dimensions, out_strides, and out_offset. 00007 */ 00008 NPY_NO_EXPORT int 00009 parse_index(PyArrayObject *self, PyObject *op, 00010 npy_intp *out_dimensions, 00011 npy_intp *out_strides, 00012 npy_intp *out_offset, 00013 int check_index); 00014 00015 NPY_NO_EXPORT PyObject 00016 *iter_subscript(PyArrayIterObject *, PyObject *); 00017 00018 NPY_NO_EXPORT int 00019 iter_ass_subscript(PyArrayIterObject *, PyObject *, PyObject *); 00020 00021 #endif