Re: question about entering vectors by the keyboard

• To: mathgroup at smc.vnet.net
• Subject: [mg16919] Re: question about entering vectors by the keyboard
• From: Harald Giese <giese at dkrz.de>
• Date: Thu, 8 Apr 1999 02:32:31 -0400
• Organization: Institut fuer Meereskunde, Universitaet Hamburg
• References: <7e1cld\$bc8@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```"David P. Johnson" wrote:
>
> I have a question about entering vectors (1D lists) by keyboard.
> ...

David,

To enter a vector, just type the list:
v = {2, 3, 4}
In this case, v is a row-vector.

For a matrx type:
m = {{1, 2}, {3, 4}}
Here, m consits of the two row-vectors {1, 2} and {3, 4}.

Your "vector" {{2},{3},{4}} is in fact a matrix having the row-vectors
{2}, {3} and {4}.

Have a look at the Matheamtica 3.0 online help "1.8.3 Vectors and Matrices".

Regards,
Harald

--
Harald Giese
Email: giese at dkrz.de
Phone: +49 (0)40 4123 5796; Fax: +49 (0)40 5605724
Institut fuer Meereskunde der Universitaet Hamburg
(Institute of Oceanography of the University of Hamburg)
Troplowitzstrasse 7, D-22529 Hamburg

```

• Prev by Date: Re: How to interrupt a running evaluation in MathLink
• Next by Date: Re: question about entering vectors by the keyboard
• Previous by thread: Re: question about entering vectors by the keyboard
• Next by thread: Re: question about entering vectors by the keyboard