[Jprogramming] Help me using rank (")
Brian Schott
schott.brian at gmail.com
Wed Jun 8 16:43:27 UTC 2016
Does this work?
,./3($,:)"1 ]5 ($,:)"0 i. 5
0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4
0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4
0 0 0 0 0 1 1 1 1 1 2 2 2 2 2 3 3 3 3 3 4 4 4 4 4
> Dear J'ers.
> Please tell me how to program the 3 5 5 array below.
> I am experimenting rather than understanding. I expect the answer to be
> quite elementary.
> Thanks! Bo.
>
> 0 0 0 0 01 1 1 1 12 2 2 2 23 3 3 3 34 4 4 4 4
> 0 0 0 0 01 1 1 1 12 2 2 2 23 3 3 3 34 4 4 4 4
> 0 0 0 0 01 1 1 1 12 2 2 2 23 3 3 3 34 4 4 4 4
>
>
>
More information about the Programming
mailing list