Ok, if I'm not allowed to filter-and-operate (because of the space/time required by the boolean vectors), then, for ; b <@/:~;.1 values :
b (] /: (10x ^ +/\)@:[ + /:@:/:@:]) values
Due to the 10x ^ +/\ part, the solution is not guarunteed to work. The
solution could be completed with a decent equivalent to the >./;.1 problem.
-Dan
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
