[SciPy-Dev] Keyword name for GMRES

Pauli Virtanen pav+sp@iki...
Sun Apr 25 04:59:03 CDT 2010


Thu, 22 Apr 2010 17:36:13 +0200, Stéfan van der Walt wrote:
> 2010/4/22 Stéfan van der Walt <stefan@sun.ac.za>:
>> Would anybody object if I changed the "restrt" keyword of GMRES to
>> "restart"?  No sane human can remember which vowel to neglect if only
>> one is removed!

If you add a new keyword argument "restart" and leave the old one behind 
for backward compatibility, I don't think there will be many complaints.

> Another confusing parameter is the preconditioner "M".  Usually, M is
> specified such that
> M^-1 A approximates identity.  In our syntax, M*A approximates the
> identity---rather unconventional.  We could change the parameter name to
> MI or Mi to indicate that it is the *inverse* of the preconditioner.

That might break everyone's code -- and every routine in 
scipy.sparse.linalg would need to make the same change.

	Pauli



More information about the SciPy-Dev mailing list