Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1999
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

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: [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 ?
>


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