scipy.linalg.cgs is DEPRECATED!! – use scipy.sparse.linalg.cgs instead
Use Conjugate Gradient Squared iteration to solve A x = b
A : {sparse matrix, dense matrix, LinearOperator}
The N-by-N matrix of the linear system.
b : {array, matrix}
Right hand side of the linear system. Has shape (N,) or (N,1).
scipy.linalg.cg
scipy.linalg.qmr