Ejemplo n.º 1
0
 public void Subtraction()
 {
   Matrix33D m1 = new Matrix33D(columnMajor, MatrixOrder.ColumnMajor);
   Matrix33D m2 = Matrix33D.One;
   Matrix33D result = Matrix33D.Subtract(m1, m2);
   for (int i = 0; i < 9; i++)
     Assert.AreEqual(rowMajor[i] - 1.0, result[i]);
 }