Namespaces
Variants
Views
Actions

std::norm(std::complex)

From cppreference.com
< cpp‎ | numeric‎ | complex
Revision as of 22:49, 2 November 2012 by P12bot (Talk | contribs)

Defined in header <complex>
template< class T >
T norm( const complex<T>& z );

Returns the squared magnitude of the complex number z.

Parameters

z - complex value

Return value

the squared magnitude of z

See also

Template:cpp/numeric/complex/dcl list absTemplate:cpp/numeric/complex/dcl list conjTemplate:cpp/numeric/complex/dcl list polar