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: Marco Caliari
Subject: [Octave-bug-tracker] [bug #46103] inversion of a singular diagonal matrix A produces inv(A)==A
Date: Sat, 03 Oct 2015 13:46:27 +0000
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:41.0) Gecko/20100101 Firefox/41.0

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

Hi,

I teach my students that the inverse of a diagonal matrix is simply a diagonal
matrix with the inverse diagonal. So, I prefer solution a) in #6, I consider
it the most natural and the least surprising. I agree with #5 that Octave
should give the same result as with a regular matrix, but the challenge should
be have Octave to recognize a regular diagonal matrix A as a diagonal matrix
and compute the inverse by diag(1./diag(A)). My 2 cents...

Marco

    _______________________________________________________

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]