Re: Transpose matrix does not work when MatrixForm is used, why?
- To: mathgroup at smc.vnet.net
- Subject: [mg45193] Re: Transpose matrix does not work when MatrixForm is used, why?
- From: "Peltio" <peltio at twilight.zone>
- Date: Sat, 20 Dec 2003 05:55:58 -0500 (EST)
- References: <bruqrt$t0p$1@smc.vnet.net>
- Reply-to: "Peltio" <peltioNOSP at Miname.com.invalid>
- Sender: owner-wri-mathgroup at wolfram.com
"steve_H" wrote
>m = { {1, 2, 3}, {4, 5, 6} } // MatrixForm
>Transpose[m]
>
>this just does nothing.
>I use a MatrixForm to see the matrix better. Does this mean one have
>to removed the MatrixForm each time before calling Transpose?
No. Just add a couple of parenthesis, to let m be assigned to the matrix,
and not to an object with head MatrixForm:
( m = { {1, 2, 3}, {4, 5, 6} } ) // MatrixForm
Transpose[m]
cheers,
Peltio
--
Invalid address in reply-to. Crafty demunging required to mail me.