Return an iterator over indices of the partition’s data array.
Note that partition is not conformed.
Returns : |
|
---|
Examples
>>> p.shape
[2, 1, 3]
>>> for index in p.iterarray_indices():
... print index
...
(0, 0, 0)
(0, 0, 1)
(0, 0, 2)
(1, 0, 0)
(1, 0, 1)
(1, 0, 2)