Esempio n. 1
0
 /// <summary>
 /// Multiplies a complex by a scalar.
 /// </summary>
 /// <param name="a">A <see cref="ComplexF"/> instance.</param>
 /// <param name="s">A scalar.</param>
 /// <returns>A new <see cref="ComplexF"/> instance containing the result.</returns>
 public static ComplexF operator*(ComplexF a, float s)
 {
     return(ComplexF.Multiply(a, s));
 }
Esempio n. 2
0
 /// <summary>
 /// Multiplies two complex numbers.
 /// </summary>
 /// <param name="a">A <see cref="ComplexF"/> instance.</param>
 /// <param name="b">A <see cref="ComplexF"/> instance.</param>
 /// <returns>A new <see cref="ComplexF"/> instance containing the result.</returns>
 public static ComplexF operator*(ComplexF a, ComplexF b)
 {
     return(ComplexF.Multiply(a, b));
 }