Namespaces
Variants
Views
Actions

std::abs(std::complex)

From cppreference.com
< cpp‎ | numeric‎ | complex
Revision as of 00:01, 3 November 2012 by P12bot (Talk | contribs)

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

Returns the magnitude of the complex number z.

Parameters

z - complex value

Return value

the magnitude of z

See also

Template:cpp/numeric/complex/dcl list arg