QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
tanh-sinh (m,n)-eps Scheme More...
#include <qdfpamericanengine.hpp>
Public Member Functions | |
QdFpTanhSinhIterationScheme (Size m, Size n, Real eps) | |
Size | getNumberOfChebyshevInterpolationNodes () const override |
Size | getNumberOfNaiveFixedPointSteps () const override |
Size | getNumberOfJacobiNewtonFixedPointSteps () const override |
ext::shared_ptr< Integrator > | getFixedPointIntegrator () const override |
ext::shared_ptr< Integrator > | getExerciseBoundaryToPriceIntegrator () const override |
Public Member Functions inherited from QdFpIterationScheme | |
virtual Size | getNumberOfChebyshevInterpolationNodes () const =0 |
virtual Size | getNumberOfNaiveFixedPointSteps () const =0 |
virtual Size | getNumberOfJacobiNewtonFixedPointSteps () const =0 |
virtual ext::shared_ptr< Integrator > | getFixedPointIntegrator () const =0 |
virtual ext::shared_ptr< Integrator > | getExerciseBoundaryToPriceIntegrator () const =0 |
virtual | ~QdFpIterationScheme ()=default |
Private Attributes | |
const Size | m_ |
const Size | n_ |
const ext::shared_ptr< Integrator > | integrator_ |
tanh-sinh (m,n)-eps Scheme
m | fixed point iteration steps, first step is a partial Jacobi-Newton, the rest are naive Richardson fixed point iterations |
n | number of Chebyshev nodes to interpolate the exercise boundary |
eps | tanh-sinh integration precision |
Definition at line 94 of file qdfpamericanengine.hpp.
QdFpTanhSinhIterationScheme | ( | Size | m, |
Size | n, | ||
Real | eps | ||
) |
Definition at line 70 of file qdfpamericanengine.cpp.
|
overridevirtual |
Implements QdFpIterationScheme.
Definition at line 81 of file qdfpamericanengine.cpp.
|
overridevirtual |
Implements QdFpIterationScheme.
Definition at line 85 of file qdfpamericanengine.cpp.
|
overridevirtual |
Implements QdFpIterationScheme.
Definition at line 88 of file qdfpamericanengine.cpp.
|
overridevirtual |
Implements QdFpIterationScheme.
Definition at line 94 of file qdfpamericanengine.cpp.
|
overridevirtual |
Implements QdFpIterationScheme.
Definition at line 98 of file qdfpamericanengine.cpp.
|
private |
Definition at line 105 of file qdfpamericanengine.hpp.
|
private |
Definition at line 105 of file qdfpamericanengine.hpp.
|
private |
Definition at line 106 of file qdfpamericanengine.hpp.