Re: Transpose matrix does not work when MatrixForm is used, why?
- To: mathgroup at smc.vnet.net
- Subject: [mg45192] Re: [mg45177] Transpose matrix does not work when MatrixForm is used, why?
- From: Selwyn Hollis <sh2.7183 at misspelled.erthlink.net>
- Date: Sat, 20 Dec 2003 05:55:57 -0500 (EST)
- References: <200312191157.GAA29448@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Here's the trick: Put parentheses around the assignment and put //MatrixForm outside. (m = { {1, 2, 3}, {4, 5, 6} } )// MatrixForm ----- Selwyn Hollis http://www.math.armstrong.edu/faculty/hollis On Dec 19, 2003, at 6:57 AM, steve_H wrote: > hello > > Mathematica 5.0 > > m = { {1, 2, 3}, {4, 5, 6} } // MatrixForm > Transpose[m] > > this just does nothing. it simply prints back what I typed with > m in MatrixForm but does not actually do the transpose. > > But when I do > > m = { {1, 2, 3}, {4, 5, 6} } > Transpose[m] > > > it works. > > It seems that the function Transpose does not like to accept a > list in 'MatrixForm' ? > > I use a MatrixForm to see the matrix better. Does this mean one have > to removed the MatrixForm each time before calling Transpose? > >
- References:
- Transpose matrix does not work when MatrixForm is used, why?
- From: nma124@hotmail.com (steve_H)
- Transpose matrix does not work when MatrixForm is used, why?