pub fn asfortranarray<T: Element, D: Dimension>(a: &Array<T, D>) -> Array<T, D>Expand description
Return an array (Fortran-order) by transposing then cloning.
ferray stores in C-order; to get Fortran-style layout we materialize a
new buffer in column-major order. The shape is preserved; only the
memory layout differs (the element traversal order in iter() will
follow C-order regardless after this round-trip).
Analogous to numpy.asfortranarray. Note: ferray’s iterator/view API
always reflects C-order, so the returned array will appear identical
in element ordering — the underlying memory layout is the only
distinction with NumPy. Provided for API parity.