Were you thinking of this? <@;1 3$ ((1 2); (2 3); i. 4) ┌───────────────┐ │1 2 2 3 0 1 2 3│ └───────────────┘ ,&.>/1 3$ ((1 2); (2 3); i. 4) ┌───┬───┬───────┐ │1 2│2 3│0 1 2 3│ └───┴───┴───────┘
or was your list of boxes dimension 1 (in which case I don't see a difference in results between <@; and ,&.>/ although the process of getting the results may differ because ,&.>/ operates between each item and <@; works on the entire array at once.) Cheers, bob On Nov 12, 2015, at 5:04 PM, Henry Rich <[email protected]> wrote: > You're right again... but I was thinking about cases where y is a list of > boxes. > > Henry Rich > > On 11/12/2015 6:19 PM, robert therriault wrote: >> ,&.>/ <"1 i. 2 3 2 >> ┌───────┬───────┬─────────┐ >> │0 1 6 7│2 3 8 9│4 5 10 11│ >> └───────┴───────┴─────────┘ >> ,&.:>/ <"1 i. 2 3 2 >> ┌─────┐ >> │ 0 1│ >> │ 2 3│ >> │ 4 5│ >> │ 6 7│ >> │ 8 9│ >> │10 11│ >> └─────┘ >> <@; <"1 i. 2 3 2 >> ┌─────────────────────────┐ >> │0 1 2 3 4 5 6 7 8 9 10 11│ >> └─────────────────────────┘ >> >> Cheers, bob >> >> On Nov 12, 2015, at 3:07 PM, Henry Rich <[email protected]> wrote: >> >>> Your examples are right... but I was thinking about cases where y is boxed. >> ---------------------------------------------------------------------- >> For information about J forums see http://www.jsoftware.com/forums.htm > > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
