MCPcopy Create free account
hub / github.com/numpy/numpy / NpyIter_GetIterIndexRange

Function NpyIter_GetIterIndexRange

numpy/core/src/multiarray/nditer_api.c:958–964  ·  view source on GitHub ↗

NUMPY_API * Gets the range of iteration indices being iterated */

Source from the content-addressed store, hash-verified

956 * Gets the range of iteration indices being iterated
957 */
958NPY_NO_EXPORT void
959NpyIter_GetIterIndexRange(NpyIter *iter,
960 npy_intp *istart, npy_intp *iend)
961{
962 *istart = NIT_ITERSTART(iter);
963 *iend = NIT_ITEREND(iter);
964}
965
966/*NUMPY_API
967 * Gets the broadcast shape if a multi-index is being tracked by the iterator,

Callers 1

npyiter_iterrange_getFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected