Re: [Bug-apl] an other inner product ,., bug

2018-05-18 Thread Juergen Sauermann
Hi Jay, yes. Even worse: there is another subtle difference in the inner products of IBM APL2 and the ISO standard. IBM APL2 states (language reference, page 165) and also does this: A f.g B  ←→  f/¨ (⊂[⍴⍴A]A) ∘.g ⊂[1]B The

Re: [Bug-apl] an other inner product ,., bug

2018-05-18 Thread Jay Foad
This is a subtle difference in the definition of inner product. On vectors: A f.g B ←→ ⊂f/A g B ⍝ APL2 A f.g B ←→ f/A g¨ B ⍝ NARS2000, Dyalog Jay. On 17 May 2018 at 17:52, David Tran wrote: > Hi, > > Below shows the bug: > > 1 2 3 ,., 4 5 6 > > result: 1 2 3 4 5 6 > expected: 1 4 2 5 3 6