Flat iterator object to iterate over arrays.
A flatiter iterator is returned by
x.flatfor any array
x. It allows iterating over the array as if it were a 1-D array, either in a for-loop or by calling its
Iteration is done in row-major, C-style order (the last index varying the fastest).
Restricted support of basic slicing is currently supplied. Advanced indexing is not supported yet.
Get a copy of the iterator as a 1-D array.
A reference to the array that is iterated over.