6 15 10 +/@:="0 1 i.201

1 1 1

6 15 10 +/@:="0 _ i.201 1 1

    On Wednesday, June 12, 2019, 9:27:08 a.m. EDT, JmageK <[email protected]> 
wrote:  
 
    (([: +/ =&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
  
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to