Hi Kacper, yes. APL2 produces what you predicted. I believe that the standard says little about how / and friends shall be parsed. In GNU APL a value left of / makes it a function at tokenization time in order to avoid testing at runtime. /// Jürgen On 05/17/2016 06:20 PM, Kacper Gutowski
wrote:
On Tue, May 17, 2016 at 4:49 PM, Juergen Sauermann wrote:is seems like IBM APL2 computes 1 2 3 /¨ 4 5 6 as: (1 2 3/4) (1 2 3/5) (1 2 3/6) However, the ISO standard says Z ← A f¨ B(...)The difference isn't in each operator, but in parsing / always as a monadic operator (albeit taking a numeric argument) rather than a dyadic function. I don't have APL2 to test, but I expect (1 2 3/)¨4 5 6 to work too. -k |
- [Bug-apl] Outer product with replicate error David Tran
- Re: [Bug-apl] Outer product with replicate error Xiao-Yong Jin
- Re: [Bug-apl] Outer product with replicate er... Ala'a Mohammad
- Re: [Bug-apl] Outer product with replicat... Xiao-Yong Jin
- Re: [Bug-apl] Outer product with replicate er... David B. Lamkins
- Re: [Bug-apl] Outer product with replicat... Hans-Peter Sorge
- Re: [Bug-apl] Outer product with repl... Juergen Sauermann
- Re: [Bug-apl] Outer product with... Kacper Gutowski
- Re: [Bug-apl] Outer product ... Juergen Sauermann
- Re: [Bug-apl] Outer product with... Alexey Veretennikov
- Re: [Bug-apl] Outer product with replicat... Juergen Sauermann
- Re: [Bug-apl] Outer product with replicat... Juergen Sauermann
- Re: [Bug-apl] Outer product with repl... Peter Teeson