Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*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 1998

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

Search the Archive

Re: Vector Transposition

  • To: mathgroup at smc.vnet.net
  • Subject: [mg14699] Re: Vector Transposition
  • From: siegman at ee.stanford.edu (AES)
  • Date: Sun, 8 Nov 1998 21:15:55 -0500
  • Organization: Stanford University
  • References: <720tce$1ve@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

In article <720tce$1ve at smc.vnet.net>, "Yves Gauvreau"
<gauy at videotron.ca> wrote:

*  Hi,
*  
*  I have Mathematica V3.0 for student and I'd like to know if someone
as a *  suggestion on how to do a Transpose on an expression that
evaluate to a *  n x 1 or 1 x n vector. The use of Map[{#}&, x] only
works if x is a *  vector.
*  
*  Thanks
*  
*  Yves

The following is one way to do this (the brackets are important):

rowVector={{a1,a2,a3}};
rowVector//MatrixForm

Transpose[rowVector]//MatrixForm

columnVector={{b1},{b2},{b3}};
columnVector//MatrixForm

Transpose[columnVector]//MatrixForm

dotProduct=rowVector.columnVector;
dotProduct//MatrixForm

outerProduct=columnVector.rowVector; outerProduct//MatrixForm

But, there are subtleties.


  • Prev by Date: Multiplying large polynomials
  • Next by Date: Re: Single character in Italics. Ervin Doyle;
  • Previous by thread: Re: Vector Transposition
  • Next by thread: Re: Vector Transposition