pub trait MaybeOwnedMatrix {
type Elem;
// Required method
fn into_owned(self) -> Array2<Self::Elem>;
}Expand description
Turn arrays, references to arrays, and ArrayRefs into owned arrays
Required Associated Types§
Required Methods§
Sourcefn into_owned(self) -> Array2<Self::Elem>
fn into_owned(self) -> Array2<Self::Elem>
Convert into an owned array, cloning only when necessary.