std::real(std::complex)
From cppreference.com
Template:cpp/numeric/complex/sidebar
Defined in header <complex>
|
||
template< class T > complex<T> real( const complex<T>& z ); |
||
Returns the real component of the complex number z
, i.e. z.real().
Parameters
z | - | complex value |
Return value
the real component of z