[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #51270] isdefinite should return 0 for zero ma
From: |
Marco Caliari |
Subject: |
[Octave-bug-tracker] [bug #51270] isdefinite should return 0 for zero matrices |
Date: |
Thu, 22 Jun 2017 03:29:33 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:54.0) Gecko/20100101 Firefox/54.0 |
Follow-up Comment #6, bug #51270 (project octave):
There is no way to determine positive-definiteness cheaper than Choleski, as
far as I know. Then, for any default tolerance tol
[1, 0; 0, -tol / 2]
will be detected as positive semi-definite. I am in favour of isdefinite
returning either true (positive definite) or false. In the documentation it
would possible to write that if isdefinite(A) is false but isdefinite(A+tol)
is true for tol sufficiently small, than A is quite surely semi-definite. And,
if one wants to be sure (up to machine precision), the eigenvalues have to be
computed.
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?51270>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/