Пример #1
0
 private static Numeric[][] InitilizeMatrix(int rows, int columns)
 {
     var matrix = new Numeric[rows][];
     for (int row = 0; row < rows; row++)
     {
         matrix[row] = new Numeric[columns];
     }
     return matrix;
 }
Пример #2
0
 public Matrix(Numeric[][] matrix)
 {
     _matrix = matrix;
 }
Пример #3
0
 public Division(Numeric leftOperand, Numeric rightOperand)
 {
     _leftOperand = leftOperand;
     _rightOperand = rightOperand;
 }
Пример #4
0
 public Multiplication(Numeric leftOperand, Numeric rightOperand)
 {
     _leftOperand = leftOperand;
     _rightOperand = rightOperand;
 }
Пример #5
0
 public Subtraction(Numeric leftOperand, Numeric rightOperand)
 {
     _leftOperand = leftOperand;
     _rightOperand = rightOperand;
 }
Пример #6
0
 public Addition(Numeric leftOperand, Numeric rightOperand)
 {
     _leftOperand  = leftOperand;
     _rightOperand = rightOperand;
 }
Пример #7
0
 public Addition(Numeric leftOperand, Numeric rightOperand)
 {
     _leftOperand = leftOperand;
     _rightOperand = rightOperand;
 }