public static NewtonSolverFunction MakeSolver(Function function, int maxIterations = 50) { return(new NewtonSolver(function, CentralDerivative.MakeDerivative(function, 0.0001), new AbsoluteCriteria(0.000001), maxIterations).Solve); }
public static NewtonSolverFunction MakeSolver(Function function, IStoppingCriteria stoppingCriteria, int maxIterations = 50) { return(new NewtonSolver(function, CentralDerivative.MakeDerivative(function, 0.0001), stoppingCriteria, maxIterations).Solve); }