Hi !

In J the outer product  has the form:    a foo/ b.
It doesn't  work for comma.
Example
a=: i. 3
b=: i.4
[  a ,/ b
0 1 2 0 1 2 3
APL
 a °. , b
 0 0  0 1  0 2  0 3
 1 0  1 1  1 2  1 3
 2 0  2 1  2 2  2 3

3 x 4 boxed result

Can I have the same result  in J as easily as in APL?
Best regards
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to