Function fenris::util::coerce_col_major_slice_mut [−][src]
pub fn coerce_col_major_slice_mut<T, R, C, S, RSlice, CSlice>(
matrix: &mut Matrix<T, R, C, S>,
slice_rows: RSlice,
slice_cols: CSlice
) -> MatrixSliceMut<'_, T, RSlice, CSlice, U1, RSlice> where
T: Scalar,
R: Dim,
RSlice: Dim,
C: Dim,
CSlice: Dim,
S: StorageMut<T, R, C>,
ShapeConstraint: DimEq<R, RSlice> + DimEq<C, CSlice>,
Expand description
Creates a mutable column-major slice from the given matrix.
Panics if the matrix does not have column-major storage.