bug-apl
[Top][All Lists]
Advanced

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

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


From: Jay Foad
Subject: Re: [Bug-apl] Is the index generator function definition allowed to work on vectors of any length?
Date: Tue, 11 Apr 2017 09:12:04 +0100

It's in Dyalog and NARS2000 documentation:

http://help.dyalog.com/15.0/Content/Language/Primitive%20Functions/Index%20Generator.htm
http://wiki.nars2000.org/index.php/Index_Generator

On 11 April 2017 at 02:55, Leslie S Satenstein <address@hidden> wrote:
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]