There are partition functions in general/misc/parts.ijs. For example: load'parts'
partition 4 5 5 3 3 3 6 8 6 6 9 2 2 2 1 1 0 1 0 0 1 1 1 0 1 1 0 0 (partition <;.1 ]) 4 5 5 3 3 3 6 8 6 6 9 2 2 2 ┌─┬───┬─────┬─┬─┬───┬─┬─────┐ │4│5 5│3 3 3│6│8│6 6│9│2 2 2│ └─┴───┴─────┴─┴─┴───┴─┴─────┘ On Thu, Oct 21, 2021 at 10:14 AM Skip Cave <[email protected]> wrote: > Or more generally, how do you box sequential items that are identical? > > |4|5 5|3 3 3|6|8|6 6|9|2 2 2| > > Skip Cave > Cave Consulting LLC > ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
