Re: Transpose matrix does not work when MatrixForm is used, why?
- To: mathgroup at smc.vnet.net
- Subject: [mg45200] Re: Transpose matrix does not work when MatrixForm is used, why?
- From: Harold.Noffke at wpafb.af.mil (Harold Noffke)
- Date: Sat, 20 Dec 2003 05:56:06 -0500 (EST)
- References: <bruqrt$t0p$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
If you type ...
?Transpose
You get ...
"Transpose[list] transposes the first two levels in list. ... "
This tells you Transpose takes a List as an argument, rather than a
MatrixForm.
I think this could be corrected by Wolfram with a little code tinking,
because "transpose" is one of the well-defined operators in matrix
theory, so the average user expects Transpose to work on a MatrixForm
as well as on a List.
Harold
nma124 at hotmail.com (steve_H) wrote in message news:<bruqrt$t0p$1 at smc.vnet.net>...
> 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?