pub fn asanyarray<T: Element, D: Dimension>(a: &Array<T, D>) -> Array<T, D>Expand description
Convert input to an array. Accepts an existing array (no-op clone).
In NumPy, asanyarray differs from asarray only in that it preserves
MaskedArray / matrix subclasses. ferray has no array-subclass
hierarchy at this layer (masked arrays live in ferray-ma), so
asanyarray is identical to asarray for owned arrays.
Analogous to numpy.asanyarray.