|
From: | Blake McBride |
Subject: | Re: [Bug-apl] take and drop on matrixes? |
Date: | Sat, 29 Aug 2015 17:41:13 -0500 |
/AlexeyThanks, it looks indeed like I have to specify all sizes in GNU APL.Br,2015-08-29 22:23 GMT+02:00 Juergen Sauermann <address@hidden>:Hi Alexey,
I believe you are using a Dyalog-specific feature.
Try 2 2↑XG1 instead.
/// Jürgen
On 08/29/2015 06:56 PM, Alexey Veretennikov wrote:
/AlexeyBr,Is where some incompatibilities with a standard?Hi listHowever this works fine on Dyalog APL:
The following code with given matrix XG1 produces an error in GNU APL on attempt to take or drop rows:
XG1
1 9 5 3 6
5 4 8 2 3
7 7 6 2 6
⍴XG1
3 5
2↑XG1
RANK ERROR
2↑XG1
^ ^
2↓XG1
RANK ERROR
2↓XG1
^ ^
2↑XG1
1 9 5 3 6
5 4 8 2 3
[Prev in Thread] | Current Thread | [Next in Thread] |