|
| From: | Ceral Paquet |
| Subject: | [Octave-bug-tracker] [bug #41546] warning ("pinv: tol is ignored for diagonal matrices"); |
| Date: | Tue, 18 Feb 2014 21:51:50 +0000 |
| User-agent: | Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:27.0) Gecko/20100101 Firefox/27.0 |
Follow-up Comment #7, bug #41546 (project octave):
I was looking at the SVD code
<http://octave.sourceforge.net/doxygen/html/dd/dd7/svd_8cc_source.html> and
realized there's another issue with diagonal pinv: no checking for Inf and NaN
values.
BTW the "is_perm_matrix" has no handling of tol and no warning either. Perhaps
it would be best to remove this code and let the general case handle it?
97 else if (arg.is_perm_matrix ())
98 {
99 retval = arg.perm_matrix_value ().inverse ();
100 }
_______________________________________________________
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] |