octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #46103] inversion of a singular diagonal matri


From: Rik
Subject: [Octave-bug-tracker] [bug #46103] inversion of a singular diagonal matrix A produces inv(A)==A
Date: Fri, 02 Oct 2015 23:25:53 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

Follow-up Comment #11, bug #46103 (project octave):

I'll ask on the Maintainer's list for someone to run the Matlab code.  I knew
the mutation would be hard so I think we should avoid it in dDiagMatrix.cc. 
Maybe, as I said, we can figure it out in inv.cc and do the mutation there.

But, I don't think we should always promote to full.  Lots, even most, of the
diagonal matrices will not be singular and so we don't want to go from linear
memory consumption (N) to quadratic consumption (N^2) every time.

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?46103>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]