QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <fdm2dblackscholessolver.hpp>
Protected Member Functions | |
void | performCalculations () const override |
Protected Member Functions inherited from LazyObject | |
virtual void | calculate () const |
Private Attributes | |
const Handle< GeneralizedBlackScholesProcess > | p1_ |
const Handle< GeneralizedBlackScholesProcess > | p2_ |
const Real | correlation_ |
const FdmSolverDesc | solverDesc_ |
const FdmSchemeDesc | schemeDesc_ |
const bool | localVol_ |
const Real | illegalLocalVolOverwrite_ |
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 36 of file fdm2dblackscholessolver.hpp.
Fdm2dBlackScholesSolver | ( | Handle< GeneralizedBlackScholesProcess > | p1, |
Handle< GeneralizedBlackScholesProcess > | p2, | ||
Real | correlation, | ||
FdmSolverDesc | solverDesc, | ||
const FdmSchemeDesc & | schemeDesc = FdmSchemeDesc::Hundsdorfer() , |
||
bool | localVol = false , |
||
Real | illegalLocalVolOverwrite = -Null<Real>() |
||
) |
Definition at line 28 of file fdm2dblackscholessolver.cpp.
Definition at line 58 of file fdm2dblackscholessolver.cpp.
Definition at line 66 of file fdm2dblackscholessolver.cpp.
Definition at line 74 of file fdm2dblackscholessolver.cpp.
Definition at line 83 of file fdm2dblackscholessolver.cpp.
Definition at line 92 of file fdm2dblackscholessolver.cpp.
Definition at line 102 of file fdm2dblackscholessolver.cpp.
Definition at line 112 of file fdm2dblackscholessolver.cpp.
|
overrideprotectedvirtual |
This method must implement any calculations which must be (re)done in order to calculate the desired results.
Implements LazyObject.
Definition at line 44 of file fdm2dblackscholessolver.cpp.
|
private |
Definition at line 59 of file fdm2dblackscholessolver.hpp.
|
private |
Definition at line 60 of file fdm2dblackscholessolver.hpp.
|
private |
Definition at line 61 of file fdm2dblackscholessolver.hpp.
|
private |
Definition at line 62 of file fdm2dblackscholessolver.hpp.
|
private |
Definition at line 63 of file fdm2dblackscholessolver.hpp.
|
private |
Definition at line 64 of file fdm2dblackscholessolver.hpp.
|
private |
Definition at line 65 of file fdm2dblackscholessolver.hpp.
|
mutableprivate |
Definition at line 67 of file fdm2dblackscholessolver.hpp.