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

Home » Public Forums » archive » A more efficient way of multiplying this
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
A more efficient way of multiplying this [message #91581] Sat, 01 August 2015 19:44 Go to previous message
stefano.rgc is currently offline  stefano.rgc
Messages: 2
Registered: August 2015
Junior Member
Hello, I have learnt a lot in this site. Now I will ask my first question.

Imagine you have a vector [x,y,z] and an array [[A1,A2,A3,...,An],[B1,B2,B3,...,Bn],[C1,C2,C3,...,Cn]]. What I need is multiply x by the vector [A], y by vector [B] and z by vector [C]. Currently I do this with a "for loop" (just 3 loops in this example) but this is very inefficient when the dimensions get bigger.

Some of you know a way to do this without resorting to a "for loop"?

I will appreciate any reply. Thanks.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Help Doing HDF(-EOS) to Multi-layer GeoTIFF Conversion with IDL
Next Topic: IDL-69024 bug fixed in v8.4?

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

Current Time: Wed Oct 08 14:14:31 PDT 2025

Total time taken to generate the page: 0.00431 seconds