Пример #1
0
        public MatrixValue Function(ScalarValue x0, ScalarValue xn, ScalarValue y0, ScalarValue yn)
        {
            var m      = new Newton();
            var xsteps = (int)Math.Abs(Math.Ceiling((xn.Re - x0.Re) / 0.1));
            var ysteps = (int)Math.Abs(Math.Ceiling((yn.Re - y0.Re) / 0.1));

            return(m.CalculateMatrix(x0.Re, xn.Re, y0.Re, yn.Re, xsteps, ysteps));
        }
Пример #2
0
        public MatrixValue Function(ScalarValue x0, ScalarValue xn, ScalarValue y0, ScalarValue yn, ScalarValue xsteps, ScalarValue ysteps)
        {
            var m = new Newton();

            return(m.CalculateMatrix(x0.Re, xn.Re, y0.Re, yn.Re, xsteps.IntValue, ysteps.IntValue));
        }
Пример #3
0
        public MatrixValue Function(ScalarValue start, ScalarValue end, ScalarValue steps)
        {
            var m = new Newton();

            return(m.CalculateMatrix(start.Re, end.Re, start.Im, end.Im, steps.IntValue, steps.IntValue));
        }
Пример #4
0
        public MatrixValue Function()
        {
            var m = new Newton();

            return(m.CalculateMatrix(-1.0, 1.0, -1.0, 1.0, 150, 150));
        }