RE: How to get the Outer Product of two Matries ?
- To: mathgroup at smc.vnet.net
- Subject: [mg25872] RE: [mg25856] How to get the Outer Product of two Matries ?
- From: "David Park" <djmp at earthlink.net>
- Date: Sat, 4 Nov 2000 02:04:16 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Liwen, It appears that what you want is the cross product of two vectors, not matrices. v1 = {x1, y1, z1}; v2 = {x2, y2, z2}; Cross[v1, v2] {-y2 z1 + y1 z2, x2 z1 - x1 z2, -x2 y1 + x1 y2} The cross product can also be entered as v1 \[Cross] v2 where \[Cross] can be clicked in from the small cross on the Basic Input palette. David Park djmp at earthlink.net http://home.earthlink.net/~djmp/ > -----Original Message----- > From: liwen liwen [mailto:gzgear at yahoo.com] To: mathgroup at smc.vnet.net > > Dear friends, > 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 ? > > > I need the function to research the non-circular gears > geometry .If anyone is good at the area, > please send message to me . > > Best Regards, > Liwen > E-mail: gzgear at yahoo.com > >