pub fn transpose<P: Copy>(codewords: &[Vec<P>]) -> Vec<Vec<P>>
Expand description

Matrix transpose

[a b c]
[d e f]

returns

[a d]
[b e]
[c f]

Assumes that input is regular.