Post Reply 
entering vectors and +/- sign
08-09-2014, 11:47 AM
Post: #1
entering vectors and +/- sign
I can't figure out what's the usefulness of +/- symbol when entering vectors (i.e. if [] brackets are hit, the brackets appear as [x +/-]. What does +/- do inside the brackets?

Cheers!
Find all posts by this user
Quote this message in a reply
08-09-2014, 03:08 PM
Post: #2
RE: entering vectors and +/- sign
Expands and contracts rows/columns, and enables one to traverse large matrices quickly with the arrow keys. Hit - or + when you're on the symbol and you'll see.
Find all posts by this user
Quote this message in a reply
08-09-2014, 04:50 PM
Post: #3
RE: entering vectors and +/- sign
(08-09-2014 03:08 PM)Helge Gabert Wrote:  Expands and contracts rows/columns, and enables one to traverse large matrices quickly with the arrow keys. Hit - or + when you're on the symbol and you'll see.

Less well known is the fact that pressing × (multiply) creates a new row or column BEFORE the current one (unlike + which creates it AFTER the current one). It's the only way to insert a new first row or new first column.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
08-09-2014, 10:30 PM
Post: #4
RE: entering vectors and +/- sign
Thanks - - I learned something, too!
Find all posts by this user
Quote this message in a reply
08-11-2014, 10:49 AM
Post: #5
RE: entering vectors and +/- sign
Thanks!

On somewhat related topic: how do I convert a row (or column matrix) to a vector (i.e. lose double square brackets?
Find all posts by this user
Quote this message in a reply
08-11-2014, 12:47 PM
Post: #6
RE: entering vectors and +/- sign
I don't recall seeing a command to convert single-row/column matrices into vectors.

Workaround for a single row matrix:
1. Store the matrix. For example, M0.
2. Execute M0(1).

Example: Starting with [[4,2]]:
M0:= [[4,2]]
M0(1) returns [4,2]
Visit this user's website Find all posts by this user
Quote this message in a reply
08-11-2014, 04:24 PM
Post: #7
RE: entering vectors and +/- sign
(08-11-2014 10:49 AM)mcjtom Wrote:  On somewhat related topic: how do I convert a row (or column matrix) to a vector (i.e. lose double square brackets?

From the keyboard, just copy it to the edit line, place the cursor anywhere within the single-row matrix, and press Shift 5 (the square-bracket key). Shift 5 toggles between matrix and vector. Very handy.

<0|ɸ|0>
-Joe-
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: