Matrix transposition: Difference between revisions
Content added Content deleted
Line 1,388: | Line 1,388: | ||
print m[][] |
print m[][] |
||
</syntaxhighlight> |
</syntaxhighlight> |
||
{{out}} |
|||
<pre> |
|||
[ |
|||
[ 1 2 3 4 ] |
|||
[ 5 6 7 8 ] |
|||
[ 9 10 11 12 ] |
|||
] |
|||
transpose |
|||
[ |
|||
[ 1 5 9 ] |
|||
[ 2 6 10 ] |
|||
[ 3 7 11 ] |
|||
[ 4 8 12 ] |
|||
] |
|||
</pre> |
|||
=={{header|EchoLisp}}== |
=={{header|EchoLisp}}== |