コード例 #1
0
ファイル: Form1.cs プロジェクト: Laggay-Arthur/slau
 public Form1()
 {
     InitializeComponent();
     InitMatrix(p);
     gz = new Gauss_Zeidel(this, matrix, b);
     gj = new Gauss_Djordano(this, matrix, b);
 }
コード例 #2
0
ファイル: Form1.cs プロジェクト: Laggay-Arthur/slau
 void Next_Click(object sender, EventArgs e)
 {
     if (p < 2)
     {
         InitMatrix(p);
     }
     else
     {
         p = 0; InitMatrix(0);
     }
     gz          = new Gauss_Zeidel(this, matrix, b);
     gj          = new Gauss_Djordano(this, matrix, b);
     label1.Text = "n: " + p.ToString();
     p++;
 }