Code: Select all
0 0 0
1 1 0
0 1 1
1 1 1
Code: Select all
2⊥ matrix
5 7 3
Code: Select all
2⊥⍉matrix
0 6 3 7
Code: Select all
+/matrix
0 2 2 3
Code: Select all
+⌿matrix
2 3 2
Code: Select all
0 0 0
1 1 0
0 1 1
1 1 1
Code: Select all
2⊥ matrix
5 7 3
Code: Select all
2⊥⍉matrix
0 6 3 7
Code: Select all
+/matrix
0 2 2 3
Code: Select all
+⌿matrix
2 3 2
Code: Select all
2(⊥⍤1)matrix
0 6 3 7