Standard iterator method, returns the index tuple and array value.
coords : tuple of ints
The indices of the current iteration.
val : scalar
The array element of the current iteration.
numpy.ndenumerate
numpy.ndindex
Enter search terms or a module, class or function name.