Esempio n. 1
0
 private void subMatrixExecute()
 {
     try
     {
         MatrixA.SaveElements();
         MatrixB.SaveElements();
         Matrix result = MatrixA.matrix - MatrixB.matrix;
         MatrixC = new MatrixVM("C", result);
     }
     catch (Exception e)
     {
         MessageBox.Show(e.Message);
     }
 }
Esempio n. 2
0
 void initializeProperties()
 {
     MatrixA = new MatrixVM("A");
     MatrixB = new MatrixVM("B");
     MatrixC = new MatrixVM("C");
 }