SysTutorials

Linux Manual Pages › Section 3

quantlib_newton(3)

QuantLib::Newton – Newton 1-D solver

Synopsis

#include <ql/math/solvers1d/newton.hpp>

Inherits Solver1D< Newton >.

Public Member Functions

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

Detailed Description

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.

Author

Generated automatically by Doxygen for QuantLib from the source code.