private Conjugate ( double real, double imaginary ) : void | ||
real | double | |
imaginary | double | |
return | void |
public static void Conjugate(double real, double imaginary)
{
var complex = new Complex(real, imaginary);
Complex result = Complex.Conjugate(complex);
VerifyRealImaginaryProperties(result, real, -imaginary);
VerifyMagnitudePhaseProperties(result, complex.Magnitude, -complex.Phase);
}