Data update
This commit is contained in:
parent
4bb20c9b71
commit
cbaf4c4b64
12390 changed files with 318560 additions and 27248 deletions
13
Task/Matrix-transposition/Pluto/matrix-transposition.pluto
Normal file
13
Task/Matrix-transposition/Pluto/matrix-transposition.pluto
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
require "matrix"
|
||||
|
||||
local m = matrix.from({
|
||||
{ 1, 2, 3},
|
||||
{ 4, 5, 6},
|
||||
{ 7, 8, 9},
|
||||
{10, 11, 12}
|
||||
})
|
||||
|
||||
print("Original:\n")
|
||||
print(m)
|
||||
print("\nTransposed:\n")
|
||||
print(m:transpose())
|
||||
Loading…
Add table
Add a link
Reference in a new issue