|
From: | Michael Godfrey |
Subject: | [Octave-bug-tracker] [bug #46103] inversion of a singular diagonal matrix A produces inv(A)==A |
Date: | Fri, 02 Oct 2015 23:34:40 +0000 |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/47.0.2522.1 Safari/537.36 |
Follow-up Comment #12, bug #46103 (project octave): Some Matlab 2015a results: >> x = sparse (diag ([1 0])) x = (1,1) 1 >> y = inv (x) Warning: Matrix is singular to working precision. y = (1,1) 1 (2,1) NaN (2,2) Inf >> inv (diag (0:2)) Warning: Matrix is singular to working precision. ans = Inf Inf Inf Inf Inf Inf Inf Inf Inf >> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?46103> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |