![](https://secure.gravatar.com/avatar/86ea939a72cee216b3c076b52f48f338.jpg?s=120&d=mm&r=g)
27 Jan
2012
27 Jan
'12
10:47 a.m.
Why is the non-linear LS solver in sp.optimize called leastsq, whereas the linear solver in sp.linalg is called lstsq? Wouldn't a consistent name be better? sp.linalg.lstsq uses SVD, by lapack driver *gelss. If we don't need singular values, solving by QR is faster (lapack driver *gels). (I actually use Fortran just to get DGELS instead of DGELSS.) Sturla