pub fn to_col_major<T, L>(c: &DSlice<T, 2, L>) -> DTensor<T, 2>Expand description
Given an input matrix of shape (m × n), this function creates and returns
a new matrix of shape (n × m), where each element at position (i, j) in the
original is moved to position (j, i) in the result.