Method summary
Methods
- __init__(self, arr)
- __iter__(self)
- next(self)
A simple nd index iterator over an array.
Example:
>>> a = array([[1,2],[3,4]])
>>> for index, x in ndenumerate(a):
... print index, x
(0, 0) 1
(0, 1) 2
(1, 0) 3
(1, 1) 4