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

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

[Octave-bug-tracker] [bug #55710] svd may sometimes return -0 for exactl


From: Rik
Subject: [Octave-bug-tracker] [bug #55710] svd may sometimes return -0 for exactly zero singular values
Date: Thu, 14 Feb 2019 19:49:41 -0500 (EST)
User-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko

Update of bug #55710 (project octave):

                  Status:         Patch Submitted => Fixed                  
             Open/Closed:                    Open => Closed                 

    _______________________________________________________

Follow-up Comment #6:

No, it's a fine idea.  I just coded up quickly using abs() because it is a
built-in method on top of Octave Array objects in C++.  It turns out svd is
implemented in C++ so I can't use the Octave language [S(S==0) = 0] to do
this, but I can code a for loop for it.  I checked in this change here
(https://hg.savannah.gnu.org/hgweb/octave/rev/75d79c39ac92).

Marking as fixed and closing report.

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?55710>

_______________________________________________
  Message sent via Savannah
  https://savannah.gnu.org/




reply via email to

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