public final class RobustBrentSolver
extends org.apache.commons.math3.analysis.solvers.AbstractUnivariateSolver
Constructor and Description |
---|
RobustBrentSolver(double relativeAccuracy,
double absoluteAccuracy,
double functionValueAccuracy,
org.apache.commons.math3.analysis.UnivariateFunction meritFunc,
int numBisections,
int depth) |
Modifier and Type | Method and Description |
---|---|
protected double |
doSolve() |
double |
solve(int maxEval,
org.apache.commons.math3.analysis.UnivariateFunction objFunc,
double min,
double max) |
computeObjectiveValue, getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMax, getMaxEvaluations, getMin, getRelativeAccuracy, getStartValue, incrementEvaluationCount, isBracketing, isSequence, setup, solve, solve, verifyBracketing, verifyInterval, verifySequence
public RobustBrentSolver(double relativeAccuracy, double absoluteAccuracy, double functionValueAccuracy, @Nullable org.apache.commons.math3.analysis.UnivariateFunction meritFunc, int numBisections, int depth)
public double solve(int maxEval, org.apache.commons.math3.analysis.UnivariateFunction objFunc, double min, double max) throws org.apache.commons.math3.exception.TooManyEvaluationsException, org.apache.commons.math3.exception.NoBracketingException
solve
in interface org.apache.commons.math3.analysis.solvers.BaseUnivariateSolver<org.apache.commons.math3.analysis.UnivariateFunction>
solve
in class org.apache.commons.math3.analysis.solvers.BaseAbstractUnivariateSolver<org.apache.commons.math3.analysis.UnivariateFunction>
org.apache.commons.math3.exception.TooManyEvaluationsException
org.apache.commons.math3.exception.NoBracketingException
protected double doSolve() throws org.apache.commons.math3.exception.TooManyEvaluationsException, org.apache.commons.math3.exception.NoBracketingException
doSolve
in class org.apache.commons.math3.analysis.solvers.BaseAbstractUnivariateSolver<org.apache.commons.math3.analysis.UnivariateFunction>
org.apache.commons.math3.exception.TooManyEvaluationsException
org.apache.commons.math3.exception.NoBracketingException