private void BmultByNumb_Click(object sender, EventArgs e) { try { RES.ToDisplay(MultiplyNum(B, Double.Parse(textBox2.Text))); } catch (Exception err) { MessageBox.Show(err.Message); } }
private void substraction_Click(object sender, EventArgs e) { try { Matrix L = new Matrix(A.ToDoubleArray()); Matrix R = new Matrix(B.ToDoubleArray()); Matrix res = new Matrix(1, 1); res = L - R; RES.ToDisplay(res); } catch (Exception err) { MessageBox.Show(err.Message); } }
private void inverseB_Click(object sender, EventArgs e) { RES.ToDisplay(Inverse(B)); }
private void transposeB_Click(object sender, EventArgs e) { RES.ToDisplay(Transpose(B)); }