static ComplexL MultiplyOf(ComplexL a, ComplexL b) { ComplexL res = new ComplexL(a); res.Multiply(b); return(res); }
private void Divide(ComplexL c) { if (Math.Abs(c.Abs) < double.Epsilon) { DivideByZeroEvent?.Invoke(this, new ComplexEventArgs("Divide by zero", this, c)); return; } ComplexL t = new ComplexL(this); t.Multiply(c.Conjugate()); t.Divide(c.Abs); }