Name

norm function template — Computes normalized value

Synopsis

template<typename T> T norm(const complex<T>& z)

The norm function returns the square of the absolute value of z.

Get C++ In a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.