private void btnM1MinusM2_Click(object sender, EventArgs e) { updateM1(); updateM2(); double[,] result = MatrixAndVector.Subtraction(matrix1, matrix2); richTextBox1.Text = MatrixAndVector.MatrixString(result); }
private void btnM3xM1_Click(object sender, EventArgs e) { updateM1(); updateM3(); double[,] result = MatrixAndVector.Multiplication(matrix3, matrix1); richTextBox1.Text = MatrixAndVector.MatrixString(result); }
private void InitializerUI() { //show v1 and v2 txbV1.Text = MatrixAndVector.VectorString(vector1); txbV2.Text = MatrixAndVector.VectorString(vector2); txbM1.Text = MatrixAndVector.MatrixString(matrix1); txbM2.Text = MatrixAndVector.MatrixString(matrix2); txbM3.Text = MatrixAndVector.MatrixString(matrix3); }
private void btnTransposeOfM3_Click(object sender, EventArgs e) { updateM3(); double[,] result = MatrixAndVector.TransposeMatrix(matrix3); richTextBox1.Text = MatrixAndVector.MatrixString(result); }
private void btnShowM1_Click(object sender, EventArgs e) { updateM1(); richTextBox1.Text = MatrixAndVector.MatrixString(matrix1); }