GetPhase
returns the phase in radians, of the complex value.
double GetPhase( )
The phase
EX1
void complex_GetPhase() { complex cc(1., -1.); // Display the phase: out_double("phase = ", cc.GetPhase()); // shoulde be -0.7854 (=-PI/4) }
Complex::GetAmplitude
origin.h