Function linxal::util::internal::slice_and_layout_mut [] [src]

pub fn slice_and_layout_mut<D, S: DataMut<Elem=D>>(mat: &mut ArrayBase<S, Ix2>) -> Option<(&mut [S::Elem], Layout, Ixs)>

Return the slice, layout, and leading dimension of the matrix.

For LAPACKE methods, the memory layout does not need to be contiguous. We only required that either rows or columns are contiguous.