Testing the lab "An Introductory Course in J"  and noticed that the result
was not the same in J6 and J7. Chapter 9 Section 10:

J6 result:

   ]op =: (i. 2 0 4) ; (i. 0 2) ; ,6
┌────┬──┬─┐
│    │  │6│
└────┴──┴─┘
   ;op  NB. Result of raze
0 0 0 0

0 0 0 0

0 0 0 0

6 0 0 0
   $ ;op  NB. The shape of the empty result
4 1 4

J7 Result:

   ]op =: (i. 2 0 4) ; (i. 0 2) ; 6   NB. The operand
┌────┬──┬─┐
│    │  │6│
└────┴──┴─┘
   ;op  NB. Result of raze
   $ ;op  NB. The shape of the empty result
4 0 4
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to