Gnu apl processes ⍳ 2 5
as
1 1 1 2 1 3 1 4 1 5
2 1 2 2 2 3 2 4 2 5
and
⍳ 2 5 2
as
1 1 1 1 1 2
1 2 1 1 2 2
1 3 1 1 3 2
1 4 1 1 4 2
1 5 1 1 5 2
2 1 1 2 1 2
2 2 1 2 2 2
2 3 1 2 3 2
2 4 1 2 4 2
2 5 1 2 5 2
Since when does interval (index generator) take more than a scaler, or a vector with rho greater than 1 ?
Where would this (above example) be used?
Its not described in APL2, or the iso document. I am searching dyalog's documentation and it's not there either.
Is this an interpreter error or some undocumented extension?
Regards
Leslie
Leslie Satenstein
Montréal Québec, Canada