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); }
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); }
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); }
public ScalarValue Function(ScalarValue x, ScalarValue y) { var m = new Newton(); return new ScalarValue(m.Run(x.Re, y.Re)); }
public ScalarValue Function(ScalarValue z) { var m = new Newton(); return new ScalarValue(m.Run(z.Re, z.Im)); }
public MatrixValue Function() { var m = new Newton(); return m.CalculateMatrix(-1.0, 1.0, -1.0, 1.0, 150, 150); }