I have two arrays, $x is 4 9 and $y is 4 20

I want to create a function that takes each 4 element list from x, and multiplies y by that list. The shape of the result should be 9 4 20.

x */ y razes x completely, giving 36 4 20 (sorry if the order of my shapes is off -- I'm still getting the hang of this).
x */"1 y doesn't quite get it, and
x */"1 _ y (what I thought would be the answer) gives me the same result as x */ y

regards,

Geoff
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to