Search All of the Math Forum:
Views expressed in these public forums are not endorsed by
Drexel University or The Math Forum.
|
|
|
|
Re: [mg4253] Help: Column/Row Vector
Posted:
Jun 28, 1996 9:53 AM
|
|
Hi Joh,
Note that column and row matrices are special cases of matrices which are lists of lists in Mathematica. In your case, the column matrix would be
x = {{x1}, {x2}}
which is a 2x1 matrix (each sublist inside the list signifies a row) and the row matrix would be
y = {{y1, y2}}
which is a 1x2 matrix. You can see the output using MatrixForm.
The above procedure for writing column and row matrices are quite general and applies to any number of elements.
I hope this helps.
To: mathgroup @ smc.vnet.net @ INTERNET cc: (bcc: Chee Lim Cheung/MS/SP_SF) From: khinast @ nld.chee.uh.edu @ INTERNET @ SP_SD Date: 23/06/96 03:08:14 AM Subject: [mg4253] Help: Column/Row Vector
Hi,
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 . I've studied the help page for hours, with no result. So could someone please help me. My email address is:
khinast@nld.chee.uh.edu
Joh.
|
|
|
|