Beispiel #1
0
 private void btnM1TimeV1_Click(object sender, EventArgs e)
 {
     updateM1();
     updateV1();
     double[] result = MatrixAndVector.MatrixTimeVector(matrix1, vector1);
     richTextBox1.Text = MatrixAndVector.VectorString(result);
 }
Beispiel #2
0
 private void btnV1MinusV2_Click(object sender, EventArgs e)
 {
     updateV1();
     updateV2();
     double[] result = MatrixAndVector.Subtraction(vector1, vector2);
     richTextBox1.Text = MatrixAndVector.VectorString(result);
 }
Beispiel #3
0
        private void btnShowV1_Click(object sender, EventArgs e)
        {
            updateV1();
            string s = MatrixAndVector.VectorString(vector1);

            richTextBox1.Text = s;
        }
Beispiel #4
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);
 }
Beispiel #5
0
 private void btnUnitVectorOfV1_Click(object sender, EventArgs e)
 {
     updateV1();
     double[] result = MatrixAndVector.UnitVector(vector1);
     richTextBox1.Text = MatrixAndVector.VectorString(result);
 }