public abstract class AbstractPolynomialSolver extends BaseAbstractUnivariateSolver<PolynomialFunction> implements PolynomialSolver
Modifier | Constructor and Description |
---|---|
protected |
AbstractPolynomialSolver(double absoluteAccuracy)
Construct a solver with given absolute accuracy.
|
protected |
AbstractPolynomialSolver(double relativeAccuracy,
double absoluteAccuracy)
Construct a solver with given accuracies.
|
protected |
AbstractPolynomialSolver(double relativeAccuracy,
double absoluteAccuracy,
double functionValueAccuracy)
Construct a solver with given accuracies.
|
Modifier and Type | Method and Description |
---|---|
protected double[] |
getCoefficients() |
protected void |
setup(int maxEval,
PolynomialFunction 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, verifySequenceStrict
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMaxEvaluations, getRelativeAccuracy, solve, solve, solve
protected AbstractPolynomialSolver(double absoluteAccuracy)
absoluteAccuracy
- Maximum absolute error.protected AbstractPolynomialSolver(double relativeAccuracy, double absoluteAccuracy)
relativeAccuracy
- Maximum relative error.absoluteAccuracy
- Maximum absolute error.protected AbstractPolynomialSolver(double relativeAccuracy, double absoluteAccuracy, double functionValueAccuracy)
relativeAccuracy
- Maximum relative error.absoluteAccuracy
- Maximum absolute error.functionValueAccuracy
- Maximum function value error.protected void setup(int maxEval, PolynomialFunction f, double min, double max, double startValue)
solve
methods.setup
in class BaseAbstractUnivariateSolver<PolynomialFunction>
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.protected double[] getCoefficients()
Copyright © 2020 CNES. All rights reserved.