numpy.ndindex.ndincr
numpy.nested_iters
ndindex.
next
Standard iterator method, updates the index and returns the index tuple.
Returns a tuple containing the indices of the current iteration.