Re: col-vector * row-vector = matrix, how ?
- To: mathgroup at smc.vnet.net
- Subject: [mg18475] Re: col-vector * row-vector = matrix, how ?
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Wed, 7 Jul 1999 23:08:39 -0400
- Organization: Universitaet Leipzig
- References: <7lumbd$leb@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Malte, Outer[Times,{a,b,c},{x,y,z}] will do this. Regards Jens Malte Lance wrote: > > 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 ? > > Any help is highly appreciated. > Thanks in advance. > > Malte. > > -- > Malte Lance. > --- composed with knews