bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] inner product


From: Juergen Sauermann
Subject: Re: [Bug-apl] inner product
Date: Fri, 17 Mar 2017 17:29:24 +0100
User-agent: Mozilla/5.0 (X11; Linux i686; rv:45.0) Gecko/20100101 Thunderbird/45.2.0

Hi,

the number of columns in a must match the number of rows in b (or the other way around,
I don't quite remember).

Try:

      a+.=⍉b
3 0 0 0 0
0 3 0 0 0
0 0 3 0 0
0 0 0 3 0
0 0 0 0 3


/// Jürgen


On 03/17/2017 05:17 PM, address@hidden wrote:
Hi

what am i missing here?

a←b←5 3⍴⍳8

a=b

+/a=b

a+.=b     length error





reply via email to

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