bug-apl
[Top][All Lists]
Advanced

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

[Bug-apl] multiple inner product


From: Xiao-Yong Jin
Subject: [Bug-apl] multiple inner product
Date: Wed, 6 Jul 2016 13:31:28 -0500

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]