public MyComplex Multi(MyComplex x) { double im = this._re * x._im + this._im * x._re; double re = this._re * x._re - this._im * x._im; return(new MyComplex(im, re)); }
public MyComplex Minus(MyComplex x) { return(new MyComplex(this._im - x._im, this._re - x._re)); }
public MyComplex Plus(MyComplex x) { return(new MyComplex(this._im + x._im, this._re + x._re)); }