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