Consider: #:i:2 1 0 1 1 0 0 0 1 1 0
{.@#:@(,: 2 * >./@,)i:2
1 1 0
1 1 1
0 0 0
0 0 1
0 1 0
--
Raul
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm
