/** * @param functionValueAccuracy The accuracy of the function evaluations. */ public RidderSingleRootFinder(double functionValueAccuracy) { _ridder = new RiddersSolver(functionValueAccuracy); }
/** * @param functionValueAccuracy The accuracy of the function evaluations. * @param absoluteAccurary The maximum absolute error of the variable. */ public RidderSingleRootFinder(double functionValueAccuracy, double absoluteAccurary) { _ridder = new RiddersSolver(functionValueAccuracy, absoluteAccurary); }
solver = new MullerSolver(); } else if (method.equals("Ridders")) { solver = new RiddersSolver(); } else if (method.equals("Secant")) { solver = new SecantSolver();