[Top][All Lists]

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

Re: [Bug-apl] defining new operator

From: Juergen Sauermann
Subject: Re: [Bug-apl] defining new operator
Date: Tue, 14 Apr 2015 12:58:12 +0200
User-agent: Mozilla/5.0 (X11; Linux i686; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Hi Fausto,

page 30 (Defined Functions and Operators) explains it.
In your example below F is expected to be a function because it
is inside () in the header while the variable(s) are outside ().

/// Jürgen

On 04/14/2015 12:42 PM, Fausto Saporito wrote:
Hello all,

sorry if I bother you again, but I tried to find some hints in the APL2 Language Reference Manual without luck.

In the Sullivan's paper, there's the reference to a "scan" operator quite fast more suited to be used with his multi precision package.
This is its definition:

∇ z←(F scan)x;y

z,←⊂y←y F⊃x 

the "!" is the branch arrow.

Now the problem is with GNU APL I cannot define this operator, cause I don't know how to specify F is a function not a variable.

is there a way to do that ? 



reply via email to

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