Re: matrix multiplication of 2 three-dimensional arrays [message #62048 is a reply to message #62047] |
Wed, 20 August 2008 07:35   |
thomas.jagdhuber@dlr.
Messages: 19 Registered: February 2007
|
Junior Member |
|
|
On 20 Aug., 15:36, Bennett <juggernau...@gmail.com> wrote:
> On Aug 20, 8:22 am, "thomas.jagdhuber" <thomas.jagdhu...@gmail.com>
> wrote:
>
>> Dear experts,
>
>> I would like to matrix multiply two matrices with dimensions
>> [3,3,1500]. means: 1500 times a matrix multiplication of 2 matrices
>> with dimension [3,3]
>> I could do this with a for loop over the dimension [1500] but i
>> suppose this is not very elegant. Is there any other way to do this
>> time-efficient.
>
>> Best regards,
>
>> thomas
>
> Have you searched help on product() and its dimensional keyword?
> This could be useful for you.
No bad idea, but product() does not work as a matrix product, as far
as I understood the descripition of the function
|
|
|