Пример #1
0
        public DIPMethod(Matrix x0, double eps, FunctionVector func)
        {
            SvenMethod sv = new SvenMethod(x0, func);

            sv.Start();
            Dictionary <string, Matrix> borderPoints = sv.BorderPoints;

            a         = borderPoints["a"];
            b         = borderPoints["b"];
            this.eps  = eps;
            functions = new FunctionVector(func);
        }
Пример #2
0
        public SquereInterpolationMethod(Matrix x0, FunctionVector func)
        {
            SvenMethod sv = new SvenMethod(x0, func);

            sv.Start();
            Dictionary <string, Matrix> borderPoints = sv.BorderPoints;

            a         = borderPoints["a"];
            U         = borderPoints["c"];
            b         = borderPoints["b"];
            eps       = 0.001;
            functions = new FunctionVector(func);
        }