Пример #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
 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
 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;
 }