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

Home » Public Forums » archive » Re: Meaning of outer product
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: Meaning of outer product [message #31426] Sat, 13 July 2002 14:30 Go to previous message
MKatz843 is currently offline  MKatz843
Messages: 98
Registered: March 2002
Member
> IDL documentation says: "Note - If A and B arguments are vectors, then C =
> MATRIX_MULTIPLY(A, B) is a matrix with C_ij = A_iB_j. Mathematically, this
> is equivalent to the outer product. . . ." But I'm having difficulty
> reconciling this with my understanding of outer product. . .
>
> c.x = a.y*b.z - a.z*b.y
> c.y = a.z*b.x - a.x*b.z
> c.z = a.x*b.y - a.y*b.x
>

That's the "cross-product" c = a x b you've written (above).
As you know, the "inner product" of two 3-element vectors is a scalar,
also known as the "dot-product"

c = a . b = a.x*b.x + a.y*b.y + a.z+b.z
The inner product is written as a row vector times a column vector.

The "outer product" of two three-element vectors is a 3x3 matrix
C =
(a.x*b.x a.x*b.y a.x*b.z)
(a.y*b.x a.y*b.y a.y*b.z)
(a.z*b.x a.z*b.y a.z*b.z) (I hope this isn't the transpose!)

it's usually written as a column vector times a row vector.

Remember that vector and matrix multiplications aren't necessarily
commutitive: a times b != b times a, necessarily.

M. Katz
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Redhat 7.2/IDL 5.5a oddity (long)
Next Topic: CALL_EXTERNAL

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

Current Time: Fri Oct 10 08:33:50 PDT 2025

Total time taken to generate the page: 0.72317 seconds