operator -(ComplexRational rational) { ComplexRational ret = new ComplexRational(rational); ret.NegateInplace(); return(ret); }
operator -( ComplexPolynomial polynomial, ComplexRational rational) { ComplexRational ret = new ComplexRational(rational); ret.NegateInplace(); ret.AddInplace(polynomial); return(ret); }
/// <summary> /// Negate a rational. /// </summary> public static ComplexRational operator -(ComplexRational rational) { ComplexRational ret = new ComplexRational(rational); ret.NegateInplace(); return ret; }
/// <summary> /// Subtract a rational from a polynomial. /// </summary> public static ComplexRational operator -( ComplexPolynomial polynomial, ComplexRational rational) { ComplexRational ret = new ComplexRational(rational); ret.NegateInplace(); ret.AddInplace(polynomial); return ret; }