FYI this was introduced as a compatible extension in Dyalog APL 13.0, along
with a similar extension to Take and Drop:

      MAT
11 12 13 14
21 22 23 24
31 32 33 34
      2↑MAT
11 12 13 14
21 22 23 24
      1↓MAT
21 22 23 24
31 32 33 34

Jay.

On 31 October 2016 at 23:34, Christian Robert <christian.rob...@polymtl.ca>
wrote:

>       )sic
>
>
>       MAT
> 11 12 13 14
> 21 22 23 24
> 31 32 33 34
>
>       2 1 ⌷ MAT
> 21
>       2 (1 2) ⌷ MAT
> 21 22
>
>       MAT[3;]
> 31 32 33 34
>       3 ⌷ MAT
> RANK ERROR
>       3⌷MAT
>       ^ ^
>
>       ⍝ I was expecting the whple third line as result
>
> Xtian.
>
>

Reply via email to