Beispiel #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;
 }
Beispiel #2
0
 public Matrix(Numeric[][] matrix)
 {
     _matrix = matrix;
 }
Beispiel #3
0
 public Division(Numeric leftOperand, Numeric rightOperand)
 {
     _leftOperand = leftOperand;
     _rightOperand = rightOperand;
 }
Beispiel #4
0
 public Multiplication(Numeric leftOperand, Numeric rightOperand)
 {
     _leftOperand = leftOperand;
     _rightOperand = rightOperand;
 }
Beispiel #5
0
 public Subtraction(Numeric leftOperand, Numeric rightOperand)
 {
     _leftOperand = leftOperand;
     _rightOperand = rightOperand;
 }
Beispiel #6
0
 public Addition(Numeric leftOperand, Numeric rightOperand)
 {
     _leftOperand  = leftOperand;
     _rightOperand = rightOperand;
 }
Beispiel #7
0
 public Addition(Numeric leftOperand, Numeric rightOperand)
 {
     _leftOperand = leftOperand;
     _rightOperand = rightOperand;
 }