Version 1.0b1 API Documentation generated by Endo 2006-08-14
Backward compatible with LinearAlgebra from Numeric
LinAlgError = linalg.LinAlgError
returns x,resids,rank,s
where x minimizes 2-norm(|b - Ax|)
resids is the sum square residuals
rank is the rank of A
s is the rank of the singular values of A in descending order
If b is a matrix then x is also a matrix with corresponding columns.
If the rank of A is less than the number of columns of A or greater than
the number of rows, then residuals will be returned as an empty array
otherwise resids = sum((b-dot(A,x)**2).
Singular values less than s[0]*rcond are treated as zero.
| Local name | Refers to |
|---|---|
| linalg | numpy.linalg.linalg |
| transpose | numpy.core.fromnumeric.transpose |