Re: Vector transpose!

*To*: mathgroup at smc.vnet.net*Subject*: [mg84473] Re: Vector transpose!*From*: Joel Storch <jstorch at earthlink.net>*Date*: Wed, 26 Dec 2007 05:13:20 -0500 (EST)*References*: <fkqpqi$jkf$1@smc.vnet.net>

Mathematica does not distingish between row vectors and column vectors; they are both incorporated in the object "List". To obtain the scalar Transpose[r].M.r in Mathematica, simply enter: r.M.r mark wrote: > Hi all, > > How to take the transpose of a column vector. In other words, I have a > vector of 4 elements ( r={a,b,c,cd} ) and a 4x4 matrix M. I need to do > apply this operation: > Transpose[r].M.r > > Any ideas? >