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