MathGroup Archive 1998

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

Search the Archive

Re: How to transpose vector?


In article <720th6$1vl at smc.vnet.net>, "Nobuhiko Tamura"
<ntamura at tky2.3web.ne.jp> wrote:

*  I have a problem about manupirating vectors. I wanted to make 3x3 * 
matrixtwo by using 3x1 vector alpha and beta. and I tried by   *  
*  >>Transpose[alpha].beta
*  
*  but it dosen't work.
*  Please tell me how to do it.
*  
*  Sorry for poor English.
*  Nobuhiko Tamura 
*  @Chiba university
*  Japan
*  
*  Email-> ntamura at tky2.3web.ne.jp


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: Re: How to transpose vector?
  • Next by Date: Re: How to transpose vector?
  • Previous by thread: Re: How to transpose vector?
  • Next by thread: Re: How to transpose vector?