|
| From: | Rik |
| Subject: | [Octave-bug-tracker] [bug #41546] warning ("pinv: tol is ignored for diagonal matrices"); |
| Date: | Mon, 17 Feb 2014 18:28:47 +0000 |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 |
Follow-up Comment #5, bug #41546 (project octave):
Given that diagonal matrices are already going to be very fast to invert, just
a for loop over the elements along the diagonal and a simple division
operation, I think it is okay to have an extra explicit test for the element
being zero and keep compatibility with the regular pinv.
I made that change in this changeset
(http://hg.savannah.gnu.org/hgweb/octave/rev/16b0cd465ecd).
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?41546>
_______________________________________________
Message sent via/by Savannah
http://savannah.gnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |