Matrix transposition: Difference between revisions
Content added Content deleted
(→{{header|Picat}}: Added {{out}}, code tag for predicates) |
|||
Line 3,224: | Line 3,224: | ||
=={{header|Picat}}== |
=={{header|Picat}}== |
||
Picat has a built-in function transpose/1 (in the util module). |
Picat has a built-in function <code>transpose/1</code> (in the <code>util</code> module). |
||
<lang Picat>import util. |
<lang Picat>import util. |
||
Line 3,270: | Line 3,270: | ||
end.</lang> |
end.</lang> |
||
{{out}} |
|||
Output: |
|||
<pre>Matrix: |
<pre>Matrix: |
||
[0.0,0.1,0.2,0.3] |
[0.0,0.1,0.2,0.3] |