Anonymous user
Matrix transposition: Difference between revisions
→{{header|R}}
(→{{header|Perl 6}}: Added a more concise solution and output) |
|||
Line 1,432:
=={{header|R}}==
<lang R>b <-
m <- matrix(c(b, b^2, b^3, b^4), 5, 4)
print(m)
|