Whoops, this zia-zag thing does not work, yet at
least. The result produced below has the middle row reversed
from the correct answer.
On Sat, 10 May 2008, Brian Schott wrote:
I have patched together a possible solution to my
single case using the zig-zag thread and Oleg's or someone
else's contribution at
http://www.jsoftware.com/pipermail/programming/2006-November/004159.html
I will try to generalize and check it out for
efficiency.
3 3$(;( [: <@|.`</. i.)@,~3){;<@(%&4)@(4+/\])/.(*"0 1 |.) i. 6
6.5 5 3.5
5 7.5 10
13.5 10 6.5
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm