Пример #1
0
 public void MultiplyElement(int i, int j)
 {
     Result[i, j] = 0;
     for (int k = 0; k < First.GetLength(0); k++)
     {
         this.Result[i, j] += First[i, k] * Second[k, j];
     }
 }
Пример #2
0
 public bool CheckMultiply()
 {
     if (First.GetLength(1) == Second.GetLength(0))
     {
         return(true);
     }
     return(false);
 }