array2_into_mat

Function array2_into_mat 

Source
pub fn array2_into_mat<T>(arr: Array2<T>) -> Mat<T>
where T: Zeroable + Field + Clone,
Expand description

Converts an ndarray Array2 to an OxiBLAS Mat, consuming the array.

This is more efficient when the array is column-major as it can potentially reuse the underlying storage.