Matrix transposition: Difference between revisions
Content added Content deleted
(Updated D code) |
|||
Line 1,360: | Line 1,360: | ||
return call_user_func_array('array_map', $m); |
return call_user_func_array('array_map', $m); |
||
}</lang> |
}</lang> |
||
Caveat: this will not work correctly for a row matrix (matrix with only 1 row); it should return a column matrix (matrix where each row has length 1), but simply returns a 1-dimensional array of the row itself, not a matrix. |
|||
=={{header|PicoLisp}}== |
=={{header|PicoLisp}}== |