SciPy

This is documentation for an old release of NumPy (version 1.10.1). Read this page in the documentation of the latest stable release (version > 1.17).

numpy.flatiter.base

flatiter.base

A reference to the array that is iterated over.

Examples

>>>
>>> x = np.arange(5)
>>> fl = x.flat
>>> fl.base is x
True