Post Reply 
(12C) Determinant of the 3x3 Matrix
12-08-2018, 04:40 PM (This post was last modified: 12-08-2018 04:41 PM by Dieter.)
Post: #4
RE: (12C) Determinant of the 3x3 Matrix
(12-08-2018 03:25 PM)Albert Chan Wrote:  I would suggest forget about the shape of keyboard, and store the numbers to R1, R2, R3 ...
So, both input methods get the same answer.

It also helps when lookup the registers: R1 = first number (instead of R7)

The point is: with the method I suggested there is no need to know which is the first or 5th or 8th element: simply look at the keyboard. Want to enter the first element in the third row? Simply look at the keyboard and store it in R1. No need to know this is the 7th element. If you count row by row and not column by column, that is. Otherwise it's the 3rd element. #-)

That's why I prefer the method suggested in my above post.

(12-08-2018 03:25 PM)Albert Chan Wrote:  Edit: program can be shortened to 30 steps (possibly slightly faster too)
Assuming above suggested input method:

Yes, but this can also be done for the other method. ;-)

Dieter
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
(12C) Determinant of the 3x3 Matrix - Gamo - 12-08-2018, 05:15 AM
RE: (12C) Determinant of the 3x3 Matrix - Dieter - 12-08-2018 04:40 PM



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