Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
10
Task/Matrix-transposition/EchoLisp/matrix-transposition.l
Normal file
10
Task/Matrix-transposition/EchoLisp/matrix-transposition.l
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
(lib 'matrix)
|
||||
|
||||
(define M (list->array (iota 6) 3 2))
|
||||
(array-print M)
|
||||
0 1
|
||||
2 3
|
||||
4 5
|
||||
(array-print (matrix-transpose M))
|
||||
0 2 4
|
||||
1 3 5
|
||||
Loading…
Add table
Add a link
Reference in a new issue