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

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

[Octave-bug-tracker] [bug #55564] GESDD: vastly different singular value


From: Mike Miller
Subject: [Octave-bug-tracker] [bug #55564] GESDD: vastly different singular values when vectors are also requested
Date: Thu, 24 Jan 2019 19:05:55 -0500 (EST)
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/71.0.3578.98 Safari/537.36

Follow-up Comment #3, bug #55564 (project octave):

Copy/paste error, this should be a little clearer:


function testit (N)
  A = compan (fliplr ([1, 1 ./ cumprod(1:N)]));
  s1 = svd (A);
  [U, S, V] = svd (A);
  s2 = diag (S);
  assert (s1, s2, -10*eps);
endfunction


testit (25)  ## ok
testit (26)  ## not ok



    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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