Function geo_nd::matrix::transpose

source ·
pub fn transpose<V: Float, const RC: usize, const R: usize, const C: usize>(
    m: [V; RC]
) -> [V; RC]
Expand description

Transpose the matrix

The matrices are row-major, so successive entries of m are adjacent columns

The output matrix has adjacent entries that are therefore adjacent rows in m