Terrence Brannon wrote:
(i. 2 3) + 7
7 8 9
10 11 12
(i. 2 3) , 7
0 1 2
3 4 5
7 7 7
the same rank arguments are here, but note the difference in shape of
results.
I have a feeling that you are still held back by scalar (rank-0) thinking in
that you want to explain operation of verbs at scalar level. for the first
example + is a scalar function so it is easy to understand. The second example
operates at array level, in scalar programming language it needs loops to break
down the arguments into scalar and then assemble in another array. But J will
do this automatically so that you don't need to worry the internal details.
--
regards,
bill
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm