Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
7
Task/Identity-matrix/BQN/identity-matrix-1.bqn
Normal file
7
Task/Identity-matrix/BQN/identity-matrix-1.bqn
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
⍝ Using table
|
||||
Eye ← =⌜˜∘↕
|
||||
•Show Eye 3
|
||||
|
||||
⍝ Using reshape
|
||||
Eye1 ← {𝕩‿𝕩⥊1∾𝕩⥊0}
|
||||
Eye1 5
|
||||
12
Task/Identity-matrix/BQN/identity-matrix-2.bqn
Normal file
12
Task/Identity-matrix/BQN/identity-matrix-2.bqn
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
┌─
|
||||
╵ 1 0 0
|
||||
0 1 0
|
||||
0 0 1
|
||||
┘
|
||||
┌─
|
||||
╵ 1 0 0 0 0
|
||||
0 1 0 0 0
|
||||
0 0 1 0 0
|
||||
0 0 0 1 0
|
||||
0 0 0 0 1
|
||||
┘
|
||||
Loading…
Add table
Add a link
Reference in a new issue