*/~ i.3
0 0 0
0 1 2
0 2 4

Yes.

   (1 + *)/~ i.3
1 2 5

What?

I was surprised since I originally thought the result of (1 + *)/
should be instead:

1 1 1
1 2 3
1 3 5

>From the dictionary:

"In general, each cell of x is applied to the entire of y"

So my guess of the result was like the concatenation of,

0 (1+*) i. 3
1 (1+*) i. 3
2 (1+*) i. 3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to