numpy.ndenumerate.next — NumPy v1.11 Manual (original) (raw)

ndenumerate.next()[source]

Standard iterator method, returns the index tuple and array value.

Returns: coords : tuple of ints The indices of the current iteration. val : scalar The array element of the current iteration.