Making the change: ] many =: UP , < 1$ <i.0
and using my library modifier endtoend =: 1 : ';@:(<@u)' one (,&.> >)"0 endtoend many +-------+-------+--------+--------+-----------+---+ |1 1 1 2|1 1 1 3|11 11 22|11 11 23|11 11 24 25|111| +-------+-------+--------+--------+-----------+---+ Henry Rich > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of Pascal Jasmin > Sent: Wednesday, September 20, 2006 8:30 AM > To: Programming forum > Subject: Re: [Jprogramming] Stitching 1 to many > > up=: 3 :'UP=:y' > up ,. ((< 2 ; 3) , <(22;23;24 25)) > > ] many =: UP , < 0$ i.0 > ┌──────── > ;─────┐ > │┌─┬─┐ > │ > ││2│3│ │ > │└─┴─┘ > │ > ├──────── > ;─────┤ > │┌──┬──┬─ > ;────┐│ > ││22│23│24 25││ > │└──┴──┴─ > ;────┘│ > ├──────── > ;─────┤ > │ │ > └──────── > ;─────┘ > > > ] one =: ,. 1 1 1; 11 11 ; 111 > ┌─────┐ > │1 1 1│ > ├─────┤ > │11 11│ > ├─────┤ > │111 │ > └─────┘ > > I'd like to end up with the following 6 boxes. unboxed > output: > 1 1 1 2 > 1 1 1 3 > 11 11 22 > 11 11 23 > 11 11 24 25 > 111 > > thanks. > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > ---------------------------------------------------------------------- > For information about J forums see > http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm
