Re: col-vector * row-vector = matrix, how ?
- To: mathgroup at smc.vnet.net
- Subject: [mg18513] Re: [mg18451] col-vector * row-vector = matrix, how ?
- From: "Andrzej Kozlowski" <andrzej at tuins.ac.jp>
- Date: Thu, 8 Jul 1999 22:32:51 -0400
- Sender: owner-wri-mathgroup at wolfram.com
Do you mean something like this:
In[37]:=
(m = {a, b, c}*v /. v -> {x, y, z}) // MatrixForm
Out[37]//MatrixForm=
a x a y a z
b x b y b z
c x c y c z
?
--
Andrzej Kozlowski
Toyama International University
JAPAN
http://sigma.tuins.ac.jp
http://eri2.tuins.ac.jp
----------
>From: malte.lance at gmx.net (Malte Lance)
To: mathgroup at smc.vnet.net
>To: mathgroup at smc.vnet.net
>Subject: [mg18513] [mg18451] col-vector * row-vector = matrix, how ?
>Date: Wed, Jul 7, 1999, 1:11 PM
>
> 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