This is documentation for an old release of NumPy (version 1.6.0). Read this page Search for this page in the documentation of the latest stable release (version > 1.17).
numpy.ndindex.ndincr
-
ndindex.ndincr()
Increment the multi-dimensional index by one.
ndincr takes care of the “wrapping around” of the axes.
It is called by ndindex.next and not normally used directly.