[SciPy-user] help about solver sparse matrix

Dominique Orban dominique.orban@gmail....
Sat Apr 19 19:31:27 CDT 2008

On Sat, Apr 19, 2008 at 7:49 PM, David Warde-Farley <dwf@cs.toronto.edu> wrote:
> On 19-Apr-08, at 7:04 PM, Jose Lopez wrote:
>  > thanks
>  >
>  > but, how to get the number of iterations of the result?
>  There's no explicit support for this in the cgs method, but it does

This is just to point out that that Jose asked for the conjugate
gradient (cg), which is not the same as the conjugate gradient squared
(cgs) method. If the coefficient matrix is symmetric and positive
definite, you'd want to use cg instead of cgs as it cgs will be more
sensitive to ill conditioning.


More information about the SciPy-user mailing list