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, enz...@gmx.com wrote:
Hi

what am i missing here?

a←b←5 3⍴⍳8

a=b

+/a=b

a+.=b     length error




Reply via email to