Translations of this page?:

Complex number constructors

Syntax:

    #include <complex>
    complex( T real = T(), T imag = T() );
    complex( complex x );

The first constructor creates a complex number from rectangular coordinates. (To create a complex number from polar coordinates, use the polar function.) The second constructor copies another complex number.

 
• • • IndexRecent changesRSScc