Post Reply 
Unexpected result calculating the determinant of a singular matrix (42S)
10-21-2019, 04:23 AM (This post was last modified: 10-21-2019 04:25 AM by Valentin Albillo.)
Post: #6
RE: Unexpected result calculating the determinant of a singular matrix (42S)
.
Hi, Thomas:

(10-21-2019 03:11 AM)Thomas Okken Wrote:  The 48G gets exactly zero on [[-.2 .1 .3][.1 .2 .1][.3 .1 -.2]] as well. Wouldn't that defeat the cheat?

No. It checks that the values of all elements are integer, not their types. The floating-point constant 2. has the integer value 2.

Whether the cheat is activated or not depends on a system flag, have a look at Messages #9, 40 and 49 in this thread (PDF document) at my site:

https://albillo.hpcalc.org/threads/HP%20...chines.pdf

This is discussed in detail in other similar threads available there.

Best regards.
V.

  
All My Articles & other Materials here:  Valentin Albillo's HP Collection
 
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Unexpected result calculating the determinant of a singular matrix (42S) - Valentin Albillo - 10-21-2019 04:23 AM



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