Matrix transposition: Difference between revisions

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 the row itself, which is a 1-dimensional array of the row itself, not a matrix.
 
=={{header|PicoLisp}}==
Anonymous user