array2_to_mat

Function array2_to_mat 

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

Converts an ndarray Array2 to an OxiBLAS Mat.

This checks if the array is in column-major order for zero-copy conversion. If not, it performs a copy.