comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Inner product of multi-dimensional arrays
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Inner product of multi-dimensional arrays [message #3519] Mon, 06 February 1995 02:03
Fergus Gallagher is currently offline  Fergus Gallagher
Messages: 41
Registered: January 1995
Member
I want to form a matrix mulipication of the form

C(i,j,k) = B(i,j,r) A(r,k) (summed over r)

With some index cleverness, I could form a 4-D intermediate array and
sum this over one index, but this intermediate array wouldn't fit
into memory in my case.

Does anyone have a suitable (fast) algorithhm for this sum. Even
better would a generalized procedure for

C = A(.....r.....) B(..r.....)

Thanks

Fergus Gallagher
British National Space Centre
[Message index]
 
Read Message
Previous Topic: Re: rainbow colortable
Next Topic: IDL routine for compress raster-8 image? (lossless)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 15:17:25 PDT 2025

Total time taken to generate the page: 0.32360 seconds