Re: How to get the Outer Product of two Matries ?
- To: mathgroup at smc.vnet.net
- Subject: [mg25873] Re: [mg25856] How to get the Outer Product of two Matries ?
- From: BobHanlon at aol.com
- Date: Sat, 4 Nov 2000 02:04:17 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
In a message dated 11/1/2000 3:05:59 AM, gzgear at yahoo.com writes:
>I want to ask a question about the
>operation of Matrix:
>matr1={x1,y1,z1};
>matr2={x2,y2,z3};
>I want to get the result of this operation:
>OuterProduct=matr1 x matr2(this expression
>is the same as that in Linear Algebra .) The answer
>is:x3 = y1*z2 - y2*z1;
>y3 = z1*x2 - x1*z2;
>z3 = x1*y2 - x2*y1;
>OuterProduct = {x3, y3, z3};
>How can I use any function included in Mathematica4 to
>calculate out the result ?
>
matr1 = {x1, y1, z1};
matr2 = {x2, y2, z2};
Cross[matr1, matr2 ]
{y1*z2 - y2*z1, x2*z1 - x1*z2, x1*y2 - x2*y1}
Bob Hanlon