Matrix transposition: Difference between revisions
Content added Content deleted
No edit summary |
m (ββES6 JS: let -> const) |
||
Line 1,725:
// transpose :: [[a]] -> [[a]]
xs[0].map((_, iCol) => xs.map((row) => row[iCol]));
// TEST
|