Numpy error when using the pseudo-inverse matrix equation solver Zoepritz: SVD did not converge

I use numpy pinv function in solving the pseudo-inverse system error:. SVD did not converge singular value decomposition does not converge

The specific cause is not clear, because it should be a function of the pseudo-inverse algorithm is difficult to converge in the iterative process caused.

Solution: introducing function scipy.linalg.pinv solving the pseudo-inverse of the scipy

 

Zoepritz equations of python program: https://github.com/cui-xiaoang96/Zoepritz-equations

Guess you like

Origin www.cnblogs.com/daangzi96/p/11703174.html