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

Home » Public Forums » archive » Re: vector multiplication of a colum-vectors(1col,3row) and a row-vector(3col,1row), but each vector position[col,row] is a 1000x1400 array
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: vector multiplication of a colum-vectors(1col,3row) and a row-vector(3col,1row), but each vector position[col,row] is a 1000x1400 array [message #52783 is a reply to message #52781] Wed, 28 February 2007 01:11 Go to previous message
Paolo Grigis is currently offline  Paolo Grigis
Messages: 171
Registered: December 2003
Senior Member
thomas.jagdhuber@dlr.de wrote:
> Hi,
>
> I am a rookie in programming IDL. So I try to compute a vector
> product out of a colum-vectors(1col,3row) and a row-vector(3col,1row),
> with the specialty that each position in the vectors is an 1000x1400
> array.
> vector1=[[[array1]],[[array2]],[[arry3]]]
> vector2=[[[array1]],[[array2]],[[arry3]]]
> matrix2=matrix_multiply(vector1,vector2,/btranspose)
> But this is not generating a 3x3 Matrix!
>
> Does anyone know anything??

Well, most people at least do know something...
but maybe you're taking a Socratic stance here ;-)

I think that before asking us how to do whatever it is you want
done in IDL, you should try to explain better what it is that
you are trying to do in the first place (at the level of algebra,
not programming language). It seems to me that you are confusing
vector (cross) product with scalar product anyway... and why you
want to get 9 numbers out of the 4.2 millions you start with?

Ciao,
Paolo

>
> Thank you very much
>
> Tom
>
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: vector multiplication of a colum-vectors(1col,3row) and a row-vector(3col,1row), but each vector position[col,row] is a 1000x1400 array
Next Topic: Re: mpeg creation problem

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

Current Time: Thu Dec 04 03:50:18 PST 2025

Total time taken to generate the page: 0.01418 seconds