pub fn array_view_to_mat_ref_or_transposed<'a, T: Field>(
arr: &'a ArrayView2<'a, T>,
) -> Option<(MatRef<'a, T>, bool)>Expand description
Creates a MatRef view from an ndarray ArrayView2, handling row-major layout by returning a transposed view if needed.
ยงReturns
(MatRef, false)if the array is column-major(MatRef, true)if the array is row-major (MatRef is transposed)Noneif the array layout is incompatible (non-contiguous)