Matrix transposition: Difference between revisions

(Updated D code)
Line 627:
 
<lang coffeescript>transpose = (matrix) ->
(t[i] for t in matrix) for i ofin [0..(matrix[0].length - 1)]</lang>
 
<pre>
Anonymous user