Without I.:
q2=: (1r4 3r4 <.@* #) -/@:{ \:~

And a fun one:
q3=: \:~ -&({~ # <.@% 4:) /:~
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to