Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2002
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2002

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

Search the Archive

Re: Row vs. Column Vectors (or Matrices)

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33937] Re: [mg33908] Row vs. Column Vectors (or Matrices)
  • From: Sseziwa Mukasa <mukasa at jeol.com>
  • Date: Tue, 23 Apr 2002 07:14:49 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

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)