fn transposeNxN(comptime Vec: type, comptime n: comptime_int, vecs: *[n]Vec) void
fn transposeNxN(comptime Vec: type, comptime n: comptime_int, vecs: *[n]Vec) void { const temp: [n]Vec = vecs.*; inline for (0..n) |i| { inline for (0..n) |j| { vecs[i][j] = temp[j][i]; } } }