public class MullerSolver2 extends AbstractUnivariateSolver
Muller's method applies to both real and complex functions, but here we restrict ourselves to real functions. This
class differs from MullerSolver
in the way it avoids complex operations.
Because the interval may not be bracketing, bisection alternative is not applicable here. However in practice our treatment usually works well, especially near real zeroes where the imaginary part of complex approximation is often negligible.
The formulas here do not use divided differences directly.
MullerSolver
,
Serialized FormConstructor and Description |
---|
MullerSolver2()
Construct a solver with default accuracy (1e-6).
|
MullerSolver2(double absoluteAccuracy)
Construct a solver.
|
MullerSolver2(double relativeAccuracy,
double absoluteAccuracy)
Construct a solver.
|
Modifier and Type | Method and Description |
---|---|
protected double |
doSolve()
Method for implementing actual optimization algorithms in derived
classes.
|
computeObjectiveValue, getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMax, getMaxEvaluations, getMin, getRelativeAccuracy, getStartValue, incrementEvaluationCount, isBracketing, isSequence, setup, 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
public MullerSolver2()
public MullerSolver2(double absoluteAccuracy)
absoluteAccuracy
- Absolute accuracy.public MullerSolver2(double relativeAccuracy, double absoluteAccuracy)
relativeAccuracy
- Relative accuracy.absoluteAccuracy
- Absolute accuracy.protected double doSolve()
doSolve
in class BaseAbstractUnivariateSolver<UnivariateFunction>
Copyright © 2019 CNES. All rights reserved.