Date: Nov 8, 2012 1:11 AM
Author: Teja Muppirala
Subject: Re: Efficiently computing large numbers of vector norms

I believe that instead of taking absolute values of complex numbers and squaring, it is faster to multiply by the conjugate.

Instead of this:

M = something;
Z = sum(abs(M).^2),2)

Do this:

M = something;
Z = sum(M.*conj(M),2)