Re: How to transpose vector?
- To: mathgroup at smc.vnet.net
- Subject: [mg14714] Re: How to transpose vector?
- From: "A.ODA" <a-oda at muj.biglobe.ne.jp>
- Date: Tue, 10 Nov 1998 01:21:05 -0500
- Organization: BIGLOBE dial-up user
- References: <720th6$1vl@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Nobuhiko Tamura wrote in message <720th6$1vl at smc.vnet.net>... >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. If you want to use "Transpose" operation to "vectors", you should treat it as 1x3 or 3x1 tensor. So you should write {{ a, b, c}} instead of {a, b, c} as a representation of 3-dim vector (a, b, c). And you can find the result of "Transpose[{{a, b, c}}]" will be {{a}, {b}, {c}} and the operation "Transpose[{alpha}].{beta}" will work well as you've wanted. Try "{{a},{b},{c}}//MatrixForm" and "{{a, b, c}}//MatrixForm" on Mathematica Ver.3 and you will get column and raw vector of (a, b, c). Also, you can confirm the operation "Transpose[{{a, b, c}}].{{d, e, f}}" is exactly same as palettes operation of (a, b, c)^t (d, e, f) using "Hold" and "FullForm" functions. A.ODA <a-oda at muj.biglobe.ne.jp> Kawasaki, JAPAN