Also, you do not have to worry about matching dimensions.
[mx =. (i. 2 3) ;<i. 4 2 ┌─────┬───┐ │0 1 2│0 1│ │3 4 5│2 3│ │ │4 5│ │ │6 7│ └─────┴───┘ Linda -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Linda A Alvord Sent: Friday, November 13, 2015 2:53 AM To: [email protected] Subject: Re: [Jprogramming] stacking without fills In a sense your mx has "stacked" the two tables alreasy. An you can get them back without fills. [mx =. (i. 2 3) ;<i. 4 3 ┌─────┬───────┐ │0 1 2│0 1 2│ │3 4 5│3 4 5│ │ │6 7 8│ │ │9 10 11│ └─────┴───────┘ $mx 2 >0{mx 0 1 2 3 4 5 >1{mx 0 1 2 3 4 5 6 7 8 9 10 11 Maybe all you want is to get each one back again. Linda -----Original Message----- From: <mailto:[email protected]> [email protected] [ <mailto:[email protected]> mailto:[email protected]] On Behalf Of Henry Rich Sent: Thursday, November 12, 2015 8:04 PM To: <mailto:[email protected]> [email protected] Subject: Re: [Jprogramming] stacking without fills 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 < < <mailto:[email protected]> > mailto:[email protected]> <mailto:[email protected]> > [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> > http://www.jsoftware.com/forums.htm> <http://www.jsoftware.com/forums.htm> > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see < <http://www.jsoftware.com/forums.htm> http://www.jsoftware.com/forums.htm> <http://www.jsoftware.com/forums.htm> http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see <http://www.jsoftware.com/forums.htm> http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
