Anonymous user
Matrix transposition: Difference between revisions
→{{header|PHP}}
(Updated D code) |
|||
Line 1,360:
return call_user_func_array('array_map', $m);
}</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}}==
|