private void btnM1TimeV1_Click(object sender, EventArgs e) { updateM1(); updateV1(); double[] result = MatrixAndVector.MatrixTimeVector(matrix1, vector1); richTextBox1.Text = MatrixAndVector.VectorString(result); }
private void btnV1MinusV2_Click(object sender, EventArgs e) { updateV1(); updateV2(); double[] result = MatrixAndVector.Subtraction(vector1, vector2); richTextBox1.Text = MatrixAndVector.VectorString(result); }
private void btnShowV1_Click(object sender, EventArgs e) { updateV1(); string s = MatrixAndVector.VectorString(vector1); richTextBox1.Text = s; }
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 btnUnitVectorOfV1_Click(object sender, EventArgs e) { updateV1(); double[] result = MatrixAndVector.UnitVector(vector1); richTextBox1.Text = MatrixAndVector.VectorString(result); }