pub fn flatten<T: Element, D: Dimension>( a: &Array<T, D>, ) -> FerrayResult<Array<T, Ix1>>
Return a flattened (1-D) copy of the array.
Identical to ravel() — analogous to ndarray.flatten().
ravel()
ndarray.flatten()