pub fn transpose_in_place<T, L>(c: &mut DSlice<T, 2, L>)Expand description
Transposes a matrix in-place. Dimensions stay the same, only the memory ordering changes.
- For square matrices: swaps elements across the main diagonal.
- For rectangular matrices: reshuffles data in a temporary buffer so that the
same
(rows, cols)slice now represents the transposed layout.