norm function template — Computes normalized value
template<typename T> T norm(const complex<T>& z)
The norm function returns the square of the absolute value of z.
norm
z
abs function template