/// <summary> /// Subtracts a scalar from a complex. /// </summary> /// <param name="a">A <see cref="ComplexD"/> instance.</param> /// <param name="s">A scalar.</param> /// <returns>A new <see cref="ComplexD"/> instance containing the difference.</returns> public static ComplexD operator-(ComplexD a, double s) { return(ComplexD.Subtract(a, s)); }
/// <summary> /// Subtracts a complex from a scalar. /// </summary> /// <param name="a">A <see cref="ComplexD"/> instance.</param> /// <param name="s">A scalar.</param> /// <returns>A new <see cref="ComplexD"/> instance containing the difference.</returns> public static ComplexD operator-(double s, ComplexD a) { return(ComplexD.Subtract(s, a)); }
/// <summary> /// Subtracts a complex from a complex. /// </summary> /// <param name="a">A <see cref="ComplexD"/> instance.</param> /// <param name="b">A <see cref="ComplexD"/> instance.</param> /// <returns>A new <see cref="ComplexD"/> instance containing the difference.</returns> public static ComplexD operator-(ComplexD a, ComplexD b) { return(ComplexD.Subtract(a, b)); }