numeric.scipy.org    Version 1.0b1 API Documentation generated by Endo 2006-08-14
Pass in a sequence of integers corresponding
to the number of dimensions in the counter.  This iterator
will then return an N-dimensional counter.

Example:
>>> for index in ndindex(4,3,2):
        print index
(0,0,0)
(0,0,1)
(0,1,0)
...
(3,1,1)
(3,2,0)
(3,2,1)

Method summary

Methods