[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-apl] multiple inner product
From: |
Kacper Gutowski |
Subject: |
Re: [Bug-apl] multiple inner product |
Date: |
Thu, 7 Jul 2016 04:59:11 +0200 |
On 6 July 2016 at 20:31, Xiao-Yong Jin wrote:
> I’m not sure which one is at fault here. Any idea?
The standard explicitly says A f.g B ←→ f/A g B when A & B vectors.
A←⊂[1]⍳2 3
B←⊂[1]10×⍳2 3
GNU APL is at fault here:
{⍺+.+⍵}/A+B
165 242
(+.+)/A+B
209 198
But in the +.(+.+) case, it's Dyalog that gives unexpected results:
+/A(+.+)B
33 66 66 66
A+.(+.+)B
99 132
-k
- [Bug-apl] multiple inner product, Xiao-Yong Jin, 2016/07/06
- Re: [Bug-apl] multiple inner product,
Kacper Gutowski <=
- Re: [Bug-apl] multiple inner product, Jay Foad, 2016/07/07
- Re: [Bug-apl] multiple inner product, Kacper Gutowski, 2016/07/07
- Re: [Bug-apl] multiple inner product, Jay Foad, 2016/07/07
- Re: [Bug-apl] multiple inner product, Kacper Gutowski, 2016/07/07
- Re: [Bug-apl] multiple inner product, Jay Foad, 2016/07/08
- Re: [Bug-apl] multiple inner product, Kacper Gutowski, 2016/07/08
- Re: [Bug-apl] multiple inner product, Jay Foad, 2016/07/08
Re: [Bug-apl] multiple inner product, Juergen Sauermann, 2016/07/07
Re: [Bug-apl] multiple inner product, Jay Foad, 2016/07/07