MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

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



  • Prev by Date: Re: Differentiation ?
  • Next by Date: More Page Breaks
  • Previous by thread: Vector Transposition
  • Next by thread: Re: Vector Transposition