[SciPy-User] scipy.sparse.linalg.cg statistics?

Nico Schlömer nico.schloemer at gmail.com
Tue Sep 28 09:34:21 EDT 2010


Hi all,

I was just running some test problems with scipy.sparse.linalg.cg and
thing seem work work out fine.
To compare preconditioners, I'd like to get more detailed information
about the convergence history, but I haven't been able to figure out
how to, e.g., get the number of performed iterations or the (relative)
residual for each of those steps. Compare this with
http://www.mathworks.com/help/techdoc/ref/pcg.html.

Any hints?

Cheers,
Nico



More information about the SciPy-User mailing list