GetAmplitude
returns the amplitude(modulus) of the complex value.
double GetAmplitude( )
The amplitude
EX1
void complex_GetAmplitude() { complex cc(1., -1.); // Display the amplitude: out_double("amplitude = ", cc.GetAmplitude()); // shoulde be 1.41421 (=sqrt(2)) }
Complex::GetPhase
origin.h