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

numpy.ndindex.ndincr

ndindex.ndincr()[source]

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.

Previous topic

numpy.ndindex

Next topic

numpy.ndindex.next

This Page