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

Home » Public Forums » archive » Array 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
Array Multiplication [message #79662] Sun, 25 March 2012 02:22
moxament is currently offline  moxament
Messages: 26
Registered: April 2008
Junior Member
Dear All,

I have the following question. Let's say we have a vector A and matrix
array B so that:

A = [1, 2, 5, 2, 3]

B = [[2, 4], [1, 9]]

I want to multiply each element of the vector A with the matrix array
B but WITHOUT using a FOR loop. Is that possible??? I need to do so in
order to save execution time.

The output result should be an array C with dimensions C[2, 2, 5, 1].

Any help is appreciated.

MD
[Message index]
 
Read Message
Previous Topic: Coyote graphics and GDL 0.9.2 (problem)
Next Topic: Re: Coyote graphics and GDL 0.9.2 (problem)

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

Current Time: Wed Oct 08 17:37:37 PDT 2025

Total time taken to generate the page: 0.00474 seconds