bug-apl
[Top][All Lists]
Advanced

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

Re: [Bug-apl] inner product


From: enztec
Subject: Re: [Bug-apl] inner product
Date: Fri, 17 Mar 2017 11:14:46 -0600

thanks

i have no clue how the result of a+.=⍉b as 5x5 result is obtained  from a 5x3 
array and 3x5 array   shouldn't it  be a 15x15 result ...   but i guess i 
really just want to use  +/a=b  :)


On Fri, 17 Mar 2017 12:26:42 -0400
Christian Robert <address@hidden> wrote:

>        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
> 
> 
> 
> On 2017-03-17 12:17, 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]