I guess you meant (i. 2 3) i."1[4 3 1 btw would you give what your expected result next time?
Terrence Brannon wrote:
Ok, I'm wondering how I might find the number 4 in a rank-2 array using dyadic i. Below are my failed naive attempts after reading the section in "Learning J" which went over Selecting. (i. 2 3) i. 4 |rank error | (i.2 3) i.4 (i. 2 3) i. (3 4 5) 1 (i. 2 3) i."1 4 |syntax error | (i.2 3)i."1 4 ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
-- regards, bill ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
