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