Yes, that is very helpful. For example:
merge=:1 :0 : off=. <:<./x,y off+ (+/ % +/@:*) x ,:&(-&off) (m#_1),y ) 0 1 2 3 4 (3 merge) 0 2 4 6 0 1 2 1.5 3 4 6 Note that I have dealt with the case where the left argument is longer than the merged right argument, but I have not dealt with any of the possibilities for shifting the right argument to the left. -- Raul On Wed, May 30, 2012 at 11:46 AM, Brian Schott <schott.br...@gmail.com> wrote: > 0 1 2 3 4 4 6 > 0 1 2 0 2 4 6 > > I have deduced that Alexander is averaging the above two rows into one > row, where the first row has 4 6 postpended from the first row and the > second row has 0 1 2 prepended from the first row. > > Is that helpful? > > -- > (B=) > ---------------------------------------------------------------------- > For information about J forums see http://www.jsoftware.com/forums.htm ---------------------------------------------------------------------- For information about J forums see http://www.jsoftware.com/forums.htm