NewtonSafe Class Reference

#include <ql/Solvers1D/newtonsafe.hpp>

Inheritance diagram for NewtonSafe:

Inheritance graph
[legend]
List of all members.

Detailed Description

safe Newton 1-D solver

Note:
This solver requires that the passed function object implement a method Real derivative(Real).

Tests:
the correctness of the returned values is tested by checking them against known good results.


Public Member Functions

template<class F>
Real solveImpl (const F &f, Real xAccuracy) const


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen