bug-apl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-apl] Is the index generator function definition allowed to work on


From: Leslie S Satenstein
Subject: [Bug-apl] Is the index generator function definition allowed to work on vectors of any length?
Date: Tue, 11 Apr 2017 01:55:21 +0000 (UTC)

Re Gnu APL. 1,7-1

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]