Re: Transpose matrix does not work when MatrixForm is used, why?
- To: mathgroup at smc.vnet.net
- Subject: [mg45233] Re: Transpose matrix does not work when MatrixForm is used, why?
- From: drbob at bigfoot.com (Bobby R. Treat)
- Date: Tue, 23 Dec 2003 05:13:27 -0500 (EST)
- References: <200312191157.GAA29448@smc.vnet.net> <bs1atd$9kj$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
The "wrapper" is very obviously affecting evaluation here, not just printing. If you can't compute the Transpose... well, what evaluation is NOT affected? See my earlier message in the same thread for a remedy (not just a dodge, like everybody else seems to be contributing). Bobby Tomas Garza <tgarza01 at prodigy.net.mx> wrote in message news:<bs1atd$9kj$1 at smc.vnet.net>... > The Help browser says: MatrixForm acts as a "wrapper" which affects > printing, but not evaluation. Hence you cannot take the Transpose of a > "wrapper". Perhaps you could rather do this: > > In[3]:= > m={{1,2,3},{4,5,6}}; > m//MatrixForm > > In[5]:= > Transpose[m]//MatrixForm > > This way you can perform the evaluations and then look at the results in a > nice way. > > Tomas Garza > Mexico City > > ----- Original Message ----- > From: "steve_H" <nma124 at hotmail.com> To: mathgroup at smc.vnet.net > Subject: [mg45233] Transpose matrix does not work when MatrixForm is used, > why? > > > > 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?