e83diagonals ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬─┬─┐ │0 0│0 1│0 2│0 3│0 4│0 5│1 5│2 5│3 5│4 5│5 5│0│0│ │ │1 0│1 1│1 2│1 3│1 4│2 4│3 4│4 4│5 4│ │ │ │ │ │ │2 0│2 1│2 2│2 3│3 3│4 3│5 3│ │ │ │ │ │ │ │ │3 0│3 1│3 2│4 2│5 2│ │ │ │ │ │ │ │ │ │ │4 0│4 1│5 1│ │ │ │ │ │ │ │ │ │ │ │ │5 0│ │ │ │ │ │ │ │ └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴─┴─┘
Last two boxes ??? But I can do something like </.,."0 1~i.#mat ┌───┬───┬───┬───┬───┬───┬───┬───┬───┬───┬───┐ │0 0│0 1│0 2│0 3│0 4│0 5│1 5│2 5│3 5│4 5│5 5│ │ │1 0│1 1│1 2│1 3│1 4│2 4│3 4│4 4│5 4│ │ │ │ │2 0│2 1│2 2│2 3│3 3│4 3│5 3│ │ │ │ │ │ │3 0│3 1│3 2│4 2│5 2│ │ │ │ │ │ │ │ │4 0│4 1│5 1│ │ │ │ │ │ │ │ │ │ │5 0│ │ │ │ │ │ └───┴───┴───┴───┴───┴───┴───┴───┴───┴───┴───┘ and then ;</.,."0 1~i.#mat 0 0 0 1 1 0 0 2 1 1 2 0 ... 4 5 5 4 5 5 compare with > > z83 =: ; }.}. |.e83diagonals but remember the issue of the last two boxes of e83diagonals. -- Met vriendelijke groet, @@i=Arie Groeneveld ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
