- NumPy v1.9 Manual

- index

# numpy.flatiter.coords

`flatiter.``coords`

  An N-dimensional tuple of current coordinates.

  Examples

      >>> x = np.arange(6).reshape(2, 3)
      >>> fl = x.flat
      >>> fl.coords
      (0, 0)
      >>> fl.next()
      0
      >>> fl.coords
      (0, 1)

- © Copyright 2008-2009, The Scipy community.
- Last updated on Nov 02, 2014.
- Created using Sphinx 1.2.2.