Re: Help: Column/Row Vector

• To: mathgroup at smc.vnet.net
• Subject: [mg4322] Re: [mg4253] Help: Column/Row Vector
• From: "Richard L. Bowman" <rbowman at bridgewater.edu>
• Date: Tue, 9 Jul 1996 00:50:41 -0400
• Sender: owner-wri-mathgroup at wolfram.com

```On Sun, 23 Jun 1996 khinast at nld.chee.uh.edu wrote:

> I have two vectors x=(x1,x2) and y = (y1,y1). How can I persuade Mathematica
> that e.g. x is a column vector and y is a row vector, which is kind of
> important for their multiplication .

Mma in a sense treats the first level of parentheses as rows.  Therefore y
is already a row vector.  To make x a column vector, write it as
x = {{x1},{x2}}

Then y x = {{y1,x1},{y2,x2}} as expected.

-------------------------------------------------------------------------
Dr. Richard L. Bowman
Dept. of Physics                         e-mail:  rbowman at bridgewater.edu
Bridgewater College                                  phone:  540-828-5441
Bridgewater, VA  22812                                 FAX:  540-828-5479
"http://www.bridgewater.edu/departments/physics/physics.html";
-------------------------------------------------------------------------

==== [MESSAGE SEPARATOR] ====

```

• Prev by Date: mathematica to dxf?
• Next by Date: Re:Help: Column/Row Vector
• Previous by thread: Re: mathematica to dxf?
• Next by thread: Re:Help: Column/Row Vector