How do I get the length of my array in APL? It doesn't seem that this question was answered already- correct me if I'm wrong. Thanks!
(0 0)(1 0)(0 1)
⍸
2 3
⍸(0 1 0)(0 0 1)
⍸¨(0 1 0)(0 0 1)
⎕←⍸¨↓⍉↑(0 0)(1 0)(0 1)
@Adám ┌─┬─┐ │2│3│ └─┴─┘
↓⌽↑
⎕←⍳∘1¨↓⍉↑(0 0)(1 0)(0 1)
@Adám 2 3
1⍳¨⍨↓⍉↑
1⍳⍨⍤1⍉↑
↑
{⍵⊃¨⍸¨↓⍉↑↑{(>,<)/≢¨{(0=(⍳⍵)|⍵)/⍳⍵}¨⍵,⍎⌽⍕⍵}¨⍳1e4}
1eX
X
{(0=(⍳⍵)|⍵)/⍳⍵}
{∪⍵∨⍳⍵}
∪∨∘⍳⍨
1e4
1e5
⍎
{⍵⊃¨⍸¨↓⍉↑↑{(>,<)/
{⍵⌷⍉1↓⊢⌸{×-/
{⍵⌷⍉1↓⊢⌸{×-/≢¨(∪∨∘⍳)⍨¨⍵,⍎⌽⍕⍵}¨⍳1e4}
≢¨(∪∨∘⍳)⍨¨
{≢∪⍵∨⍳⍵}¨
(≢∘∪⊢∨⍳)¨
≢∘∪¨∨∘⍳⍨¨