MathGroup Archive 2002

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

Search the Archive

Re: Row vs. Column Vectors (or Matrices)


On Monday, April 22, 2002, at 12:57 AM, John Resler wrote:

> Hi,
>     I'm new to Mathematica and am doing a little linear algebra. I am
> aware of the MatrixForm[m]
> function but I know of no way to create a row vector eg. [ 1.0  2.0  3.0
> ] *   [ 1.0
>
>                                                2.0
>
>                                                3.0].
>
> Can someone point me in the right direction? Thanks ahead of time.
>
Mathematica doesn't distinguish between a vector and a 1 by n matrix, 
but there is no similar shorthand for a nx1 matrix so enter it using two 
levels ie. {{1},{2},{3}}, MatrixForm will then give you your desired 
results.

Regards,

Ssezi



  • Prev by Date: recognizing integer numbers
  • Next by Date: Re: Row vs. Column Vectors (or Matrices)
  • Previous by thread: Re: Row vs. Column Vectors (or Matrices)
  • Next by thread: Re: Row vs. Column Vectors (or Matrices)