Ejemplo n.º 1
0
 /// <summary>
 /// Subtracts a scalar from a matrix.
 /// </summary>
 /// <param name="a">A <see cref="Matrix3F"/> instance.</param>
 /// <param name="s">A scalar.</param>
 /// <returns>A new <see cref="Matrix3F"/> instance containing the difference.</returns>
 public static Matrix3F operator-(Matrix3F a, float s)
 {
     return(Matrix3F.Subtract(a, s));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Subtracts a matrix from a matrix.
 /// </summary>
 /// <param name="a">A <see cref="Matrix3F"/> instance.</param>
 /// <param name="b">A <see cref="Matrix3F"/> instance.</param>
 /// <returns>A new <see cref="Matrix3F"/> instance containing the difference.</returns>
 public static Matrix3F operator-(Matrix3F a, Matrix3F b)
 {
     return(Matrix3F.Subtract(a, b));
 }