SciPy

This is documentation for an old release of NumPy (version 1.8.0). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.ndenumerate.next

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.

Previous topic

numpy.ndenumerate

Next topic

numpy.ndindex