The rank of monadic i. is 1 as determined by the following.
   i. b. 0
1 _ _

Consider the following where the rows and column lengths of i. 1 2 are
made to match those of i. 3 4.

   (i. 1 2),:i. 3 4
0 1  0  0
0 0  0  0
0 0  0  0

0 1  2  3
4 5  6  7
8 9 10 11

But that may not be explanation enough.

On Tue, Dec 12, 2017 at 5:49 PM, TongKe Xue <[email protected]> wrote:

> Hi,
>
>
>   I understand what (2 2 $ 1 2 3 4) does.
>   I understand what i. 1 2 does
>   I understand what i. 3 4 does.
>
>   I have read http://www.jsoftware.com/help/jforc/loopless_code_i_verbs_
> have_r.htm#_Toc191734331
>
>   I understand the concept of verb-rank, of frames + cells, of
> "promoting one frame to another if they share the same prefix."
>
>   I don't understand how the 0 padding in
>
>   i. (2 2 $ 1 2 3 4) works
>
>
>   What is the mechanism by which 0-padding is happening?
>
>
> Thanks,
> --TongKe
>
>
> ====
>
>    2 2 $ 1 2 3 4
>
> 1 2
>
> 3 4
>
>    i. 1 2
>
> 0 1
>
>    i. 3 4
>
> 0 1  2  3
>
> 4 5  6  7
>
> 8 9 10 11
>
>    i. (2 2 $ 1 2 3 4)
>
> 0 1  0  0
>
> 0 0  0  0
>
> 0 0  0  0
>
>
> 0 1  2  3
>
> 4 5  6  7
>
> 8 9 10 11
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm




-- 
(B=) <-----my sig
Brian Schott
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to