示例#1
0
 private void btnM1MinusM2_Click(object sender, EventArgs e)
 {
     updateM1();
     updateM2();
     double[,] result  = MatrixAndVector.Subtraction(matrix1, matrix2);
     richTextBox1.Text = MatrixAndVector.MatrixString(result);
 }
示例#2
0
 private void btnM3xM1_Click(object sender, EventArgs e)
 {
     updateM1();
     updateM3();
     double[,] result  = MatrixAndVector.Multiplication(matrix3, matrix1);
     richTextBox1.Text = MatrixAndVector.MatrixString(result);
 }
示例#3
0
 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);
 }
示例#4
0
 private void btnTransposeOfM3_Click(object sender, EventArgs e)
 {
     updateM3();
     double[,] result  = MatrixAndVector.TransposeMatrix(matrix3);
     richTextBox1.Text = MatrixAndVector.MatrixString(result);
 }
示例#5
0
 private void btnShowM1_Click(object sender, EventArgs e)
 {
     updateM1();
     richTextBox1.Text = MatrixAndVector.MatrixString(matrix1);
 }