(+:@{.,])^:(<3) 2
2 0 0
4 2 0
8 4 2Is there any simple way to box the result so that it is 2;4 2;8 4 2 ? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
(+:@{.,])^:(<3) 2
2 0 0
4 2 0
8 4 2Is there any simple way to box the result so that it is 2;4 2;8 4 2 ? ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm