public static Complex_Number operator *(Complex_Number a, Complex_Number b) { Complex_Number result = new Complex_Number(); result.x = a.x * b.x - a.y * b.y; result.y = a.x * b.y + b.x + a.y; return(result); }
public static Complex_Number operator -(Complex_Number a, Complex_Number b) { Complex_Number result = new Complex_Number(); result.x = a.x - b.x; result.y = a.y - b.y; return(result); }