Re: Vector Transposition
- To: mathgroup at smc.vnet.net
- Subject: [mg14695] Re: [mg14667] Vector Transposition
- From: Jurgen Tischer <jtischer at col2.telecom.com.co>
- Date: Sun, 8 Nov 1998 21:15:52 -0500
- Organization: Universidad del Valle
- References: <199811070710.CAA01902@smc.vnet.net.>
- Sender: owner-wri-mathgroup at wolfram.com
Hi Yves,
I suppose it's of no help for you if I say use Transpose[{x}], I assume
you don't know in advance if your result is a vector or a matrix. In
that case I would define a function say tr by
tr[x_?MatrixQ]:=Transpose[x]
tr[x_]:=tr[{x}]
Jurgen
Yves Gauvreau wrote:
>
> Hi,
>
> I have Mathematica V3.0 for student and I'd like to know if someone as a
> suggestion on how to do a Transpose on an expression that evaluate to a
> n x 1 or 1 x n vector. The use of Map[{#}&, x] only works if x is a
> vector.
>
> Thanks
>
> Yves
- References:
- Vector Transposition
- From: "Yves Gauvreau" <gauy@videotron.ca>
- Vector Transposition