Пример #1
0
 private void button3_Click(object sender, EventArgs e)
 {
     if (radioButton1.Checked)
     {
         dataGridView3 = MatrixCalculator.MatrixSub(dataGridView1, dataGridView2, dataGridView3);
     }
     else if (radioButton2.Checked)
     {
         dataGridView3 = MatrixCalculator.MatrixInversion(dataGridView1, dataGridView3);
     }
     else if (radioButton3.Checked)
     {
         dataGridView3 = MatrixCalculator.MatrixMul(dataGridView1, dataGridView2, dataGridView3);
     }
     else if (radioButton4.Checked)
     {
         dataGridView3 = MatrixCalculator.MatrixEquals(dataGridView1, dataGridView2, dataGridView3);
     }
 }