safe Newton 1-D solver with finite difference derivatives More...
#include <ql/math/solvers1d/finitedifferencenewtonsafe.hpp>
Inheritance diagram for FiniteDifferenceNewtonSafe:Public Member Functions | |
| template<class F > | |
| Real | solveImpl (const F &f, Real xAccuracy) const |
Public Member Functions inherited from Solver1D< FiniteDifferenceNewtonSafe > | |
| Real | solve (const F &f, Real accuracy, Real guess, Real step) const |
| Real | solve (const F &f, Real accuracy, Real guess, Real xMin, Real xMax) const |
| void | setMaxEvaluations (Size evaluations) |
| void | setLowerBound (Real lowerBound) |
| sets the lower bound for the function domain | |
| void | setUpperBound (Real upperBound) |
| sets the upper bound for the function domain | |
Additional Inherited Members | |
Protected Member Functions inherited from CuriouslyRecurringTemplate< FiniteDifferenceNewtonSafe > | |
| FiniteDifferenceNewtonSafe & | impl () |
| const FiniteDifferenceNewtonSafe & | impl () const |
Protected Attributes inherited from Solver1D< FiniteDifferenceNewtonSafe > | |
| Real | root_ |
| Real | xMin_ |
| Real | xMax_ |
| Real | fxMin_ |
| Real | fxMax_ |
| Size | maxEvaluations_ |
| Size | evaluationNumber_ |
safe Newton 1-D solver with finite difference derivatives