2 lines
83 B
CoffeeScript
2 lines
83 B
CoffeeScript
transpose = (matrix) ->
|
|
(t[i] for t in matrix) for i in [0...matrix[0].length]
|