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

Home » Public Forums » archive » general matrix multiplication
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
general matrix multiplication [message #10999] Mon, 23 February 1998 00:00 Go to previous message
David Schmidt is currently offline  David Schmidt
Messages: 6
Registered: January 1997
Junior Member
All,

I'm looking for a routine to perform generalized matrix multipication
over particular indexes within arrays. For example, let A be a
(10,3,20) array and B be a (20,5,10,30) array. I want to be able to
multiply and add (i.e. matrix multiply) the elemens within index 1,3 of
A and 3,1 of B and produce a result of dimension (3,5,10). While this
can be done simply by using FOR loops, I'm looking for a routine that
does this efficiently, using built-in IDL routines. Does anyone know of
such a routine? ...how I could construct such a routine?

Thanks,

David
--

//////////////////////////////////////////////////////////// /
/ David Schmidt /
/ P-21, MS-D454 Voice: (505) 665-3584 /
/ Biophysics Group Fax: (505) 665-4507 /
/ Los Alamos National Laboratory Email: dschmidt@lanl.gov /
/ Los Alamos, NM 87545 /
//////////////////////////////////////////////////////////// /
[Message index]
 
Read Message
Read Message
Previous Topic: Re: Trouble with IDL 5.0.2 (filled contours) unsolved?
Next Topic: Re: OOP Programming, Was: Something Else

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

Current Time: Fri Oct 10 09:58:41 PDT 2025

Total time taken to generate the page: 0.88152 seconds