[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Tensor product question
From: |
JFCardoso |
Subject: |
Re: Tensor product question |
Date: |
Wed, 15 May 2013 08:47:47 -0700 (PDT) |
Jordi Gutiérrez Hermoso-2 wrote
> On 15 May 2013 05:05, JFCardoso <
> rajif@
> > wrote:
>> I find Jordi's proposal a bit mysterious.
>
> It's just broadcasting:
>
> [...]
>
> Sure that works too. You're using broadcasting too, in a way.
Yes, it amounts to broadcasting. The "mysterious" (to me) part was the bit
using
the "permute" function which I found hard to parse.
In the end, a simple "reshape" does the job of creating
the NDarray with all products in place.
Cheers, JF
--
View this message in context:
http://octave.1599824.n4.nabble.com/Tensor-product-question-tp4652922p4652972.html
Sent from the Octave - General mailing list archive at Nabble.com.