예제 #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     InitializeArea();
     graphics = new GraphicsCreator(InitializeFunction(), pictureBox1.Width, pictureBox1.Height, deltaX, deltaY, pictureBox1, this);
     graphics.DrawIsolineGraphics();
     Area.Clear();
 }
예제 #2
0
파일: Form1.cs 프로젝트: Nikita-K/case
 private void button1_Click(object sender, EventArgs e)
 {
     InitializeArea();
     graphics = new GraphicsCreator(InitializeFunction(), pictureBox1.Width, pictureBox1.Height, deltaX, deltaY, pictureBox1, this);
     graphics.DrawIsolineGraphics();
     Area.Clear();
 }
예제 #3
0
파일: Solver.cs 프로젝트: Nikita-K/case
 public Solver(Function func, List<double> area, List<int> countIter, List<bool> isEpsilonCondition,
     List<double> r, List<double> epsilon, bool isDimensionalTask, int numRun, GraphicsCreator graphics, bool IsStronginMethod)
 {
     _func = func;
     Area = area;
     _countIter = countIter;
     _IsEpsilonCondition = isEpsilonCondition;
     _r = r;
     _epsilon = epsilon;
     _IsDimensionalTask = isDimensionalTask;
     _NumRun = numRun;
     _graphics = graphics;
     _IsStronginMethod = IsStronginMethod;
 }
예제 #4
0
 public Solver(Function func, List <double> area, List <int> countIter, List <bool> isEpsilonCondition,
               List <double> r, List <double> epsilon, bool isDimensionalTask, int numRun, GraphicsCreator graphics, bool IsStronginMethod)
 {
     _func               = func;
     Area                = area;
     _countIter          = countIter;
     _IsEpsilonCondition = isEpsilonCondition;
     _r                 = r;
     _epsilon           = epsilon;
     _IsDimensionalTask = isDimensionalTask;
     _NumRun            = numRun;
     _graphics          = graphics;
     _IsStronginMethod  = IsStronginMethod;
 }