MathGroup Archive 1999

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: col-vector * row-vector = matrix, how ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg18482] Re: [mg18451] col-vector * row-vector = matrix, how ?
  • From: Maarten.vanderBurgt at icos.be
  • Date: Wed, 7 Jul 1999 23:08:42 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Malte,

Try this:

In[1]:= Outer[Times,{a,b,c},{x,y,z}]
Out[1]= {{a x,a y,a z},{b x,b y,b z},{c x,c y,c z}}

Maarten


_______________________________________________________________

Maarten van der Burgt

ICOS Vision Systems
Esperantolaan 9
B-3001 Leuven, Belgium
tel. + 32 16 398220; direct + 32 16 398316; fax. + 32 16 400067
e-mail: maarten.vanderburgt at icos.be
_______________________________________________________________




malte.lance at gmx.net (Malte Lance) on 07-07-99 06:11:34 AM


Subject: [mg18482]  [mg18451] col-vector * row-vector = matrix, how ?




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







  • Prev by Date: Simplifying constants
  • Next by Date: Re: col-vector * row-vector = matrix, how ?
  • Previous by thread: Re: col-vector * row-vector = matrix, how ?
  • Next by thread: Re: col-vector * row-vector = matrix, how ?