std::complex::complex
From cppreference.com
complex( const T& re = T(), const T& im = T() ); |
(1) | |
complex( const complex& rhs ); |
(2) | |
Constructs the std::complex object.
1) Constructs the complex number from real and imaginary parts.
2) Copy constructor. Constructs the object with the copy of the contents of other.
[edit] Parameters
re | - | the real part |
im | - | the imaginary part |
other | - | another complex to use as source |
[edit] See also
assigns the contents (public member function) |