[SciPy-Dev] Least-Squares Linear Solver ( scipy.linalg.lstsq ) not optimal

Eric Moore ewm at redtetrahedron.org
Mon Feb 9 11:34:49 EST 2015


In practice they behave differently, I suppose due to differences in the
default handling of small singular values.

On Mon, Feb 9, 2015 at 10:33 AM, Sturla Molden <sturla.molden at gmail.com>
wrote:

> Sturla Molden <sturla.molden at gmail.com> wrote:
> > Robert Kern <robert.kern at gmail.com> wrote:
> >
> >> Two different methods of calculation, as the docstrings explain.
> >
> > Docstring is wrong. Both methods use SVD and it is the same method of
> > computation.
>
> Perhaps not wrong but at least misleading. The method of computation is the
> same, with the difference of less Python overhead in pinv compared to
> pinv2.
>
> Sturla
>
> _______________________________________________
> SciPy-Dev mailing list
> SciPy-Dev at scipy.org
> http://mail.scipy.org/mailman/listinfo/scipy-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/scipy-dev/attachments/20150209/dc4f05e2/attachment.html>


More information about the SciPy-Dev mailing list