|
From: | Jay Foad |
Subject: | Re: [Bug-apl] multiple inner product |
Date: | Thu, 7 Jul 2016 11:57:15 +0100 |
The following from GNU APL,
(⊂[1]⍳2 3)+.+.+⊂[1]10×⍳2 3
209 198
(⊂[1]⍳2 3)(+.+).+⊂[1]10×⍳2 3
209 198
(⊂[1]⍳2 3)+.(+.+)⊂[1]10×⍳2 3
33 66 66 66
do not agree with Dyalog APL,
⎕ML
3
(⊂[1]⍳2 3)+.+.+⊂[1]10×⍳2 3
165 242
(⊂[1]⍳2 3)(+.+).+⊂[1]10×⍳2 3
165 242
(⊂[1]⍳2 3)+.(+.+)⊂[1]10×⍳2 3
99 132
I’m not sure which one is at fault here. Any idea?
[Prev in Thread] | Current Thread | [Next in Thread] |