private void btnJacobi_Click(object sender, EventArgs e)
        {
            txtEcuaciones.Clear();

            Jacobi mt = new Jacobi(dgvEcuaciones.RowCount, dgvEcuaciones.ColumnCount);

            float[,] matIn = llenarArray();

            for (int i = 0; i < dgvEcuaciones.RowCount; i++)
            {
                for (int j = 0; j < dgvEcuaciones.ColumnCount; j++)
                {
                    mt.SetValue(i, j, matIn[i, j]);
                }
            }

            mt.Cambio   += new EventHandler <MatrizEventArgs>(mt_Cambio);
            mt.Completo += new EventHandler <MatrizEventArgs>(mt_Completo);

            mt.ApplyJacobyMethod();
        }