|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.commons.math3.analysis.solvers.BaseAbstractUnivariateSolver<DifferentiableUnivariateFunction>
org.apache.commons.math3.analysis.solvers.AbstractDifferentiableUnivariateSolver
AbstractUnivariateDifferentiableSolver
@Deprecated public abstract class AbstractDifferentiableUnivariateSolver
Provide a default implementation for several functions useful to generic solvers.
| Constructor Summary | |
|---|---|
protected |
AbstractDifferentiableUnivariateSolver(double absoluteAccuracy)
Deprecated. Construct a solver with given absolute accuracy. |
protected |
AbstractDifferentiableUnivariateSolver(double relativeAccuracy,
double absoluteAccuracy,
double functionValueAccuracy)
Deprecated. Construct a solver with given accuracies. |
| Method Summary | |
|---|---|
protected double |
computeDerivativeObjectiveValue(double point)
Deprecated. Compute the objective function value. |
protected void |
setup(int maxEval,
DifferentiableUnivariateFunction f,
double min,
double max,
double startValue)
Deprecated. Prepare for computation. |
| Methods inherited from class org.apache.commons.math3.analysis.solvers.BaseAbstractUnivariateSolver |
|---|
computeObjectiveValue, doSolve, getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMax, getMaxEvaluations, getMin, getRelativeAccuracy, getStartValue, incrementEvaluationCount, isBracketing, isSequence, solve, solve, solve, verifyBracketing, verifyInterval, verifySequence |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.apache.commons.math3.analysis.solvers.BaseUnivariateSolver |
|---|
getAbsoluteAccuracy, getEvaluations, getFunctionValueAccuracy, getMaxEvaluations, getRelativeAccuracy, solve, solve, solve |
| Constructor Detail |
|---|
protected AbstractDifferentiableUnivariateSolver(double absoluteAccuracy)
absoluteAccuracy - Maximum absolute error.
protected AbstractDifferentiableUnivariateSolver(double relativeAccuracy,
double absoluteAccuracy,
double functionValueAccuracy)
relativeAccuracy - Maximum relative error.absoluteAccuracy - Maximum absolute error.functionValueAccuracy - Maximum function value error.| Method Detail |
|---|
protected double computeDerivativeObjectiveValue(double point)
throws TooManyEvaluationsException
point - Point at which the objective function must be evaluated.
TooManyEvaluationsException - if the maximal number of evaluations is exceeded.
protected void setup(int maxEval,
DifferentiableUnivariateFunction f,
double min,
double max,
double startValue)
solve methods.
setup in class BaseAbstractUnivariateSolver<DifferentiableUnivariateFunction>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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||