[SciPy-User] scipy.linalg.lstsq default method

Ralf Gommers ralf.gommers@gmail....
Sun Nov 11 03:40:39 CST 2012


On Sat, Nov 10, 2012 at 11:58 PM, Damon McDougall <damon.mcdougall@gmail.com
> wrote:

> Hi,
>
> I think it would be a good idea to explicitly say in the documentation
> what (default) method is implemented when calling basic interface
> scipy.linalg.* functions. I had someone ask me how I solved a
> particular minimisation problem and "I used scipy.linalg.lstsq" or "I
> used backslash in Matlab" are not particularly enlightening.
>
> After looking at the lstsq code, I see that an SVD method is used.
>
> Do others agree adding this to the documentation is a good idea? If
> so, I'd be happy to open a github pull request for this (and others).
>

Good idea, that info should be in the Notes section of the docstring.

Ralf
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-user/attachments/20121111/7e7de352/attachment.html 


More information about the SciPy-User mailing list