ndenumerate.
next
Standard iterator method, returns the index tuple and array value.
The indices of the current iteration.
The array element of the current iteration.
numpy.ndenumerate
numpy.broadcast