A 1-d flat iterator.
Examples
>>> x = np.arange(3*4*5) >>> x.shape = (3,4,5) >>> x.flat[19] 19 >>> x.T.flat[19] 31
numpy.ravel
numpy.ndarray.flatten