numpy.ndindex
numpy.ndindex.next
ndindex.
ndincr
Increment the multi-dimensional index by one.
This method is for backward compatibility only: do not use.