[CSC 335] Jacoby Complex Norms
Andrew J. Pounds
pounds_aj at mercer.edu
Tue Dec 12 09:08:13 EST 2023
So some of you are working on the jacoby portion of the NMR problem and
running up against the problem of how to calculate norms of vectors of
complex numbers. There are two ways that I have used in the past.
Method 1:
norm=∑i=1N|Ci|2norm=\sqrt{\sum_{i=1}^N{ |C_i|^2}}Method 2:
norm=∑i=1NCiCi*norm = \sqrt{\sum_{i=1}^N C_i C^*_i }
where the asterisk indicates the complex conjugate of the entry. The
norm itself should not be a complex number.
--
*/Andrew J. Pounds, Ph.D./*
/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/20231212/2be50630/attachment.html>
More information about the csc335
mailing list