I'm now at the point where I'm thinking, 'no actually, boxing could be quite
useful'.

Is there a way to multiply corresponding boxed items from two lists
together?

non complete examples produced in trying to solve this question.

   a=:1 2 3; 4 5 6; 7 8 9
   c=:10;13;14
   |: (<@:{.@>)\(1&) a NB. merely creates a boxed list of the first item in
each box
+-----+
¦1¦4¦7¦
+-----+

NB. perhaps the right boxed lists are produced by CUT

b=:0 0 0 0 0 1 0 0 0 0 1 0 0 1 0 0 0 1 0 0
a=:|:i. 4 20
c (<@|:);.2 a

thanks,
--Steven
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to