(([: +/ =&6) , ([: +/ =&10) , ([: +/ =&15)) i.201 1 1

How can I generate the above code for abirary comparison to i.20(example input) 
without repeating myself? I get errors if I try any variations of the following
   f=: 3 : '([: +/ x=y)'
   2 f i.5| domain error

Thanks in advance.

JmageK
-- 
Securely sent with Tutanota
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to