polar

Syntax:

    #include <complex>
    template <class T>
    complex<T> polar( T r, T theta = 0 );

The polar() function constructs a complex number from polar coordinates.