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.

This Page