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