public static Rational operator-(Rational rational, double n) { Rational ret = new Rational(rational); ret.SubtractInplace(n); return(ret); }
public static Rational operator-(Rational rational, Polynomial polynomial) { Rational ret = new Rational(rational); ret.SubtractInplace(polynomial); return(ret); }
/// <summary> /// Subtract a real number from a rational. /// </summary> public static Rational operator -( Rational rational, double n) { Rational ret = new Rational(rational); ret.SubtractInplace(n); return ret; }
/// <summary> /// Subtract a polynomial from a rational. /// </summary> public static Rational operator -( Rational rational, Polynomial polynomial) { Rational ret = new Rational(rational); ret.SubtractInplace(polynomial); return ret; }