octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #53258] test pcg.m fail


From: Carlo de Falco
Subject: [Octave-bug-tracker] [bug #53258] test pcg.m fail
Date: Thu, 8 Mar 2018 17:57:53 -0500 (EST)
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:58.0) Gecko/20100101 Firefox/58.0

Follow-up Comment #13, bug #53258 (project octave):

@Rik, If the correct default value was documented incorrectly I agree the docs
should be fixed, but I don't think the default value matters here as it was
already overridden to be N+1, right?

As for the number of iterations, if I recall correctly, pcg should produce the
exact solution after N iterations (and definitely that should be the case for
a diagonal matrix), N+1 was probably used to allow the algorithm to detect
convergence (as the test is performed at the beginning of the iteration) and
to set the flag accordingly.

Cristiano and/or Marco can you comment on why 2*N iterations seem to be needed
to robustly guarantee convergence?

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?53258>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]