public abstract class AbstractUnivariateDifferentiableSolver extends BaseAbstractUnivariateSolver<UnivariateDifferentiableFunction> implements UnivariateDifferentiableSolver
Modifier | Constructor and Description |
---|---|
protected |
AbstractUnivariateDifferentiableSolver(double absoluteAccuracy)
Construct a solver with given absolute accuracy.
|
protected |
AbstractUnivariateDifferentiableSolver(double relativeAccuracy,
double absoluteAccuracy,
double functionValueAccuracy)
Construct a solver with given accuracies.
|
Modifier and Type | Method and Description |
---|---|
protected DerivativeStructure |
computeObjectiveValueAndDerivative(double point)
Compute the objective function value.
|
protected void |
setup(int maxEval,
UnivariateDifferentiableFunction f,
double min,
double max,
double startValue)
Prepare for computation.
|
computeObjectiveValue, doSolve, getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMax, getMaxEvaluations, getMin, getRelativeAccuracy, getStartValue, incrementEvaluationCount, isBracketing, isSequence, solve, solve, solve, verifyBracketing, verifyInterval, verifySequence
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMaxEvaluations, getRelativeAccuracy, solve, solve, solve
protected AbstractUnivariateDifferentiableSolver(double absoluteAccuracy)
absoluteAccuracy
- Maximum absolute error.protected AbstractUnivariateDifferentiableSolver(double relativeAccuracy, double absoluteAccuracy, double functionValueAccuracy)
relativeAccuracy
- Maximum relative error.absoluteAccuracy
- Maximum absolute error.functionValueAccuracy
- Maximum function value error.protected DerivativeStructure computeObjectiveValueAndDerivative(double point) throws MathIllegalStateException
point
- Point at which the objective function must be evaluated.MathIllegalStateException
- if the maximal number of evaluations is exceeded.protected void setup(int maxEval, UnivariateDifferentiableFunction f, double min, double max, double startValue)
solve
methods.setup
in class BaseAbstractUnivariateSolver<UnivariateDifferentiableFunction>
maxEval
- Maximum number of evaluations.f
- Function to solve.min
- Lower bound for the interval.max
- Upper bound for the interval.startValue
- Start value to use.Copyright © 2016-2021 CS GROUP. All rights reserved.