[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: |
Michael Leitner |
Subject: |
[Octave-bug-tracker] [bug #53817] nonlin_residmin() fails at call to svd() |
Date: |
Fri, 4 May 2018 03:55:38 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Firefox/52.0 |
Follow-up Comment #6, bug #53817 (project octave):
No, this shouldn't need to be so complicated: according to the documentation
for 4.2.2
(https://octave.org/doc/v4.2.2/Matrix-Factorizations.html#Matrix-Factorizations):
"If given a second argument, svd returns an economy-sized decomposition,
eliminating the unnecessary rows or columns of U or V." I interpret this to
mean *any* second argument.
4.4.0
(https://octave.org/doc/interpreter/Matrix-Factorizations.html#Matrix-Factorizations)
says "When given a second argument that is not 0, svd returns an economy-sized
decomposition, eliminating the unnecessary rows or columns of U or V." So to
me it seems that it should suffice to just change the 0 to a 1 (or anything
else) in the call to svd, as I said in my previous comment, no need to switch
on the version. It is just an unhappy coincidence that the optim package used
the specific value 0 that later gained a special meaning, when it could also
have used anything else.
_______________________________________________________
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, 2018/05/03
- [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 <=
- [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