On Mon, Mar 16, 2009 at 2:38 PM, David Vincent-Jones <[email protected]> wrote: > Sample series: > 0 2 2 1 2 0 2 1 1 2 0 2 1 1 1 2 1 0 1 0 2 1 0 0 0 2 2 2 0 1 ... > Results: > 1 2 1 2 3 4 5 1 2 3 4 1 2 3 4 5 6 7 8 1 1 2 .....
v=:0 2 2 1 2 0 2 1 1 2 0 2 1 1 1 2 1 0 1 0 2 1 0 0 0 2 2 2 0 1 (]# ](]- -...@[ >./\@:* ]) +/\) 1,2~:/\ v 1 2 1 2 3 4 5 1 2 3 4 1 2 3 4 5 6 7 8 1 1 2 This sentence can be slightly shorter. -- Raul ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
