[CSC 335] Iterative Solvers, Norm, and convergence

Andrew J. Pounds pounds_aj at mercer.edu
Sat Nov 30 10:50:28 EST 2019


I won't go through all of the math here, but the norm of a complex
number $a+bi$ is generally computed as

$\sqrt{a^2+b^2}$

As some of you are working on completing your NMR project with DFT I
should mention that the iterative solver may not always converge as in
many instances the spectral radius is greater than 1 or the matrices are
not strictly diagonally dominant.   In those cases your code should
print out something like

"Iterative solver failed to converge after xxx iterations with norm yyyyy"

and then terminate.

-- 
Andrew J. Pounds, Ph.D.  (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Director of the Computational Science Program
Mercer University,  Macon, GA 31207   (478) 301-5627

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20191130/2614ce7f/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: npnmmikkkfhgaphk.
Type: image/png
Size: 351 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20191130/2614ce7f/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bannljgpgcbeanla.
Type: image/png
Size: 499 bytes
Desc: not available
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20191130/2614ce7f/attachment-0001.png>


More information about the csc335 mailing list