Ñò Kc @sËdZddddddddd d d d g Zd dklZd dkiZeiZd„Zd„Zd„Z d„Z dd„Z d„Z d„Z dd„Zd„Zdd„Zdd„ZdS(s4Backward compatible with LinearAlgebra from Numeric t LinAlgErrortsolve_linear_equationstinversetcholesky_decompositiont eigenvaluest Heigenvaluestgeneralized_inverset determinanttsingular_value_decompositiont eigenvectorst Heigenvectorstlinear_least_squaresiÿÿÿÿ(t transposeNcCsti||ƒS(N(tlinalgtsolve(tatb((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyRscCs ti|ƒS(N(R tinv(R((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyRscCs ti|ƒS(N(R tcholesky(R((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyR"scCs ti|ƒS(N(R teigvals(R((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyR'stLcCsti||ƒS(N(R teigvalsh(RtUPLO((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyR*scCs%ti|ƒ\}}|t|ƒfS(N(R teigR (tAtwtv((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyR /scCs%ti|ƒ\}}|t|ƒfS(N(R teighR (RRR((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyR 3sg»½×Ùß|Û=cCsti||ƒS(N(R tpinv(Rtrcond((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyR9scCs ti|ƒS(N(R tdet(R((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyR>scCsti|||ƒS(sû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. (R tlstsq(RRR((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyR Cs icCsti||ƒS(N(R tsvd(Rt full_matrices((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyRRs(t__doc__t__all__t numpy.coreR t numpy.linalgR RRRRRRR R RRR R(((sE/usr/lib64/python2.6/site-packages/numpy/oldnumeric/linear_algebra.pyts(