QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <fdmsimple2dextousolver.hpp>
Public Member Functions | |
FdmSimple2dExtOUSolver (const Handle< ExtendedOrnsteinUhlenbeckProcess > &process, ext::shared_ptr< YieldTermStructure > rTS, FdmSolverDesc solverDesc, const FdmSchemeDesc &schemeDesc=FdmSchemeDesc::Hundsdorfer()) | |
Real | valueAt (Real x, Real y) const |
Public Member Functions inherited from LazyObject | |
LazyObject () | |
~LazyObject () override=default | |
void | update () override |
bool | isCalculated () const |
void | forwardFirstNotificationOnly () |
void | alwaysForwardNotifications () |
void | recalculate () |
void | freeze () |
void | unfreeze () |
Public Member Functions inherited from Observable | |
Observable () | |
Observable (const Observable &) | |
Observable & | operator= (const Observable &) |
Observable (Observable &&)=delete | |
Observable & | operator= (Observable &&)=delete |
virtual | ~Observable ()=default |
void | notifyObservers () |
Public Member Functions inherited from Observer | |
Observer ()=default | |
Observer (const Observer &) | |
Observer & | operator= (const Observer &) |
virtual | ~Observer () |
std::pair< iterator, bool > | registerWith (const ext::shared_ptr< Observable > &) |
void | registerWithObservables (const ext::shared_ptr< Observer > &) |
Size | unregisterWith (const ext::shared_ptr< Observable > &) |
void | unregisterWithAll () |
virtual void | update ()=0 |
virtual void | deepUpdate () |
Protected Member Functions | |
void | performCalculations () const override |
Protected Member Functions inherited from LazyObject | |
virtual void | calculate () const |
Private Attributes | |
const Handle< ExtendedOrnsteinUhlenbeckProcess > | process_ |
const ext::shared_ptr< YieldTermStructure > | rTS_ |
const FdmSolverDesc | solverDesc_ |
const FdmSchemeDesc | schemeDesc_ |
ext::shared_ptr< Fdm2DimSolver > | solver_ |
Additional Inherited Members | |
Public Types inherited from Observer | |
typedef set_type::iterator | iterator |
Protected Attributes inherited from LazyObject | |
bool | calculated_ = false |
bool | frozen_ = false |
bool | alwaysForward_ |
Definition at line 40 of file fdmsimple2dextousolver.hpp.
FdmSimple2dExtOUSolver | ( | const Handle< ExtendedOrnsteinUhlenbeckProcess > & | process, |
ext::shared_ptr< YieldTermStructure > | rTS, | ||
FdmSolverDesc | solverDesc, | ||
const FdmSchemeDesc & | schemeDesc = FdmSchemeDesc::Hundsdorfer() |
||
) |
|
overrideprotectedvirtual |
This method must implement any calculations which must be (re)done in order to calculate the desired results.
Implements LazyObject.
Definition at line 57 of file fdmsimple2dextousolver.hpp.
|
private |
Definition at line 68 of file fdmsimple2dextousolver.hpp.
|
private |
Definition at line 69 of file fdmsimple2dextousolver.hpp.
|
private |
Definition at line 70 of file fdmsimple2dextousolver.hpp.
|
private |
Definition at line 71 of file fdmsimple2dextousolver.hpp.
|
mutableprivate |
Definition at line 73 of file fdmsimple2dextousolver.hpp.