Post Reply 
Matrix
10-20-2014, 04:48 PM
Post: #5
RE: Matrix
(08-07-2014 07:04 AM)parisse Wrote:  Inside CAS:
m:=[[44,48,82,48,55],[-65,-20,72,-86,-16],[77,-46,-28,-28,23],[-26,-46,-87,88,6],[-16,14,69,71,-78],[-74,81,-27,-87,81]];
sum(m);
You can use lowercase one letter names for any kind of variable in CAS.
Also * does dot product inside CAS

Entering the matrix above was (for me) not intuitive: I tried using the '[]' key without success to enter the '[[44,48 . . .],[ . .'.

The way that worked for me was 'm:=[44,48,. . .],[-65,-20, . . . etc.' and then 'Enter' the put the [[...]] matrix on the stack. Whew!

The 'sum()' function worked as stated.

I got the same result for 'sum(m)' with the data in a 6x5 matrix.

Very nice!
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Matrix - resolved - 08-06-2014, 11:21 PM
RE: Matrix - parisse - 08-07-2014, 07:04 AM
RE: Matrix - dbbotkin - 10-20-2014 04:48 PM
RE: Matrix - resolved - 10-15-2014, 02:08 AM
RE: Matrix - resolved - 10-17-2014, 03:43 AM
RE: Matrix - parisse - 10-20-2014, 06:09 PM



User(s) browsing this thread: 1 Guest(s)