[SciPy-user] help about solver sparse matrix

Dominique Orban dominique.orban at gmail.com
Sat Apr 19 20:31:27 EDT 2008


On Sat, Apr 19, 2008 at 7:49 PM, David Warde-Farley <dwf at 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.

Dominique



More information about the SciPy-User mailing list