Re: col-vector * row-vector = matrix, how ?
- To: mathgroup at smc.vnet.net
- Subject: [mg18483] Re: [mg18451] col-vector * row-vector = matrix, how ?
- From: BobHanlon at aol.com
- Date: Wed, 7 Jul 1999 23:08:43 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Malte, v1 = Transpose[{{a, b, c}}] {{a}, {b}, {c}} v2 = {{x, y, z}} {{x, y, z}} v1.v2 {{a x, a y, a z}, {b x, b y, b z}, {c x, c y, c z}} Bob Hanlon In a message dated 7/7/99 6:51:45 AM, malte.lance at gmx.net writes: >Need to know how to accomplish the following in Mathematica-3.0: > >v1 := transpose(<a,b,c>) /* column-vector */ > >v2 := <x,y,z> /* row-vector */ > >( ax ay az ) >( bx by bz ) = v1 * v2 =: m /* 3x3-matrix */ >( cx cy cz ) > >Does anyone know how to do this in Mathematica ? >