bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] multiple inner product


From: Jay Foad
Subject: Re: [Bug-apl] multiple inner product
Date: Thu, 7 Jul 2016 11:57:15 +0100

There was some relevant discussion in comp.lang.apl here: https://groups.google.com/forum/#!topic/comp.lang.apl/23LrwRZKmPs

On 6 July 2016 at 19:31, Xiao-Yong Jin <address@hidden> wrote:
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?


reply via email to

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