Hi Jay,
My intend was to get each matrix element defined by a (row,column)-pair
like:
1 3 5∘.,1 3 5 ⍝ the row,column pairs in a matrix
1 1 1 3 1 5
3 1 3 3 3 5
5 1 5 3 5 5
(1 3 5∘.,1 3 5)⌷¨⊂A ⍝ the matrix elements (in a matrix)
ACE
KMO
UWY
(1 3 ∘.,1 3 )⌷¨⊂A ⍝ works ni
Perhaps you're misunderstanding how squad indexing works?
⎕←t←5 5⍴⎕A
ABCDE
FGHIJ
KLMNO
PQRST
UVWXY
(1 3 5)(1 3 5)⌷t
ACE
KMO
UWY
t[1 3 5;1 3 5]≡(1 3 5)(1 3 5)⌷t
1
Perhaps you wanted to use something like Dyalog's choose indexing?
x[(∊2=⍴¨x)/,s]
┌──┬──┐
│XX│XX│
└──┴──┘
Jay