Negate() public static method

Negates a complex number.
public static Negate ( Complex a ) : Complex
a Complex A instance.
return Complex
Beispiel #1
0
 /// <summary>
 /// Negates the complex number.
 /// </summary>
 ///
 /// <param name="a">A <see cref="Complex"/>  instance.</param>
 ///
 /// <returns>Returns new <see cref="Complex"/> instance containing the negated values.</returns>
 ///
 public static Complex operator -(Complex a)
 {
     return(Complex.Negate(a));
 }