Пример #1
0
 /// <summary>
 /// Subtracts a scalar from a matrix.
 /// </summary>
 /// <param name="a">A <see cref="Matrix2F"/> instance.</param>
 /// <param name="s">A scalar.</param>
 /// <returns>A new <see cref="Matrix2F"/> instance containing the difference.</returns>
 public static Matrix2F operator-(Matrix2F a, float s)
 {
     return(Matrix2F.Subtract(a, s));
 }
Пример #2
0
 /// <summary>
 /// Subtracts a matrix from a matrix.
 /// </summary>
 /// <param name="a">A <see cref="Matrix2F"/> instance.</param>
 /// <param name="b">A <see cref="Matrix2F"/> instance.</param>
 /// <returns>A new <see cref="Matrix2F"/> instance containing the difference.</returns>
 public static Matrix2F operator-(Matrix2F a, Matrix2F b)
 {
     return(Matrix2F.Subtract(a, b));
 }