std::norm(std::complex)
From cppreference.com
| 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