Post Reply 
41CL Quiz: Determinant of 30x30 anti-Identity matrix
05-12-2018, 02:50 AM (This post was last modified: 05-12-2018 03:01 AM by Joe Horn.)
Post: #7
RE: 41CL Quiz: Determinant of 30x30 anti-Identity matrix
(05-11-2018 07:48 PM)John Keith Wrote:  OK, more cheating. HP 50g, exact mode:

Code:
\<< { 30 30 } 1 CON 30 IDN - DET \>>

Result: 29
Physical calculator: 61 seconds.
Emulator: 2.17 seconds.

I'm sure the Prime would be much faster but I don't have mine handy.

Prime in CAS view: det(makemat(1,30,30)-IDENMAT(30))
Result: -29
Physical calculator (HW rev C): 0.041 seconds
Emulator: around 0.00224 seconds

EDIT: The 50g's approx mode is much faster than exact mode in this case. If the input is a matrix of reals (TYPE 3) instead of a symbolic array of integers (TYPE 29), DET returns -29.0000000000 in 14.17 seconds.

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


Messages In This Thread
RE: 41CL Quiz: Determinant of 30x30 anti-Identity matrix - Joe Horn - 05-12-2018 02:50 AM



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