[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd
From: |
Georg Wiora |
Subject: |
[Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd() |
Date: |
Thu, 3 May 2018 04:10:57 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0 |
Follow-up Comment #2, bug #53817 (project octave):
Here comes my workaround for __lm_svd__.m in package optim:
****HACK****
place this at line 205 in __lm_svd__.m
[prt,s,v]=svd(prt,0);
%% HACK: The matrices for s and v should be square but are returned non
square by current svd implementation.
s_size = min(size(s));
s = s(1:s_size,1:s_size);
v = v(:,1:s_size);
I also attached a patched copy of the function. I guess the causing problem in
svd() should be easy to fix.
(file #44068)
_______________________________________________________
Additional Item Attachment:
File name: __lm_svd__.m Size:20 KB
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?53817>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/
- [Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd(), Georg Wiora, 2018/05/03
- [Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd(), Georg Wiora, 2018/05/03
- [Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd(),
Georg Wiora <=
- [Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd(), Michael Leitner, 2018/05/03
- [Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd(), Rik, 2018/05/03
- [Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd(), Georg Wiora, 2018/05/04
- [Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd(), Michael Leitner, 2018/05/04
- [Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd(), Georg Wiora, 2018/05/04
- [Octave-bug-tracker] [bug #53817] optim package: nonlin_residmin() fails at call to svd(), Rik, 2018/05/04
- [Octave-bug-tracker] [bug #53817] optim package: nonlin_residmin() fails at call to svd(), Olaf Till, 2018/05/05