Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
11
Task/Matrix-transposition/J/matrix-transposition.j
Normal file
11
Task/Matrix-transposition/J/matrix-transposition.j
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
]matrix=: (^/ }:) >:i.5 NB. make and show example matrix
|
||||
1 1 1 1
|
||||
2 4 8 16
|
||||
3 9 27 81
|
||||
4 16 64 256
|
||||
5 25 125 625
|
||||
|: matrix
|
||||
1 2 3 4 5
|
||||
1 4 9 16 25
|
||||
1 8 27 64 125
|
||||
1 16 81 256 625
|
||||
Loading…
Add table
Add a link
Reference in a new issue