QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <fdsabrvanillaengine.hpp>
Public Member Functions | |
FdSabrVanillaEngine (Real f0, Real alpha, Real beta, Real nu, Real rho, Handle< YieldTermStructure > rTS, Size tGrid=50, Size fGrid=400, Size xGrid=50, Size dampingSteps=0, Real scalingFactor=1.0, Real eps=1e-4, const FdmSchemeDesc &schemeDesc=FdmSchemeDesc::Hundsdorfer()) | |
void | calculate () const override |
Private Attributes | |
const Real | f0_ |
const Real | alpha_ |
const Real | beta_ |
const Real | nu_ |
const Real | rho_ |
const Handle< YieldTermStructure > | rTS_ |
const Size | tGrid_ |
const Size | fGrid_ |
const Size | xGrid_ |
const Size | dampingSteps_ |
const Real | scalingFactor_ |
const Real | eps_ |
const FdmSchemeDesc | schemeDesc_ |
Definition at line 34 of file fdsabrvanillaengine.hpp.
FdSabrVanillaEngine | ( | Real | f0, |
Real | alpha, | ||
Real | beta, | ||
Real | nu, | ||
Real | rho, | ||
Handle< YieldTermStructure > | rTS, | ||
Size | tGrid = 50 , |
||
Size | fGrid = 400 , |
||
Size | xGrid = 50 , |
||
Size | dampingSteps = 0 , |
||
Real | scalingFactor = 1.0 , |
||
Real | eps = 1e-4 , |
||
const FdmSchemeDesc & | schemeDesc = FdmSchemeDesc::Hundsdorfer() |
||
) |
|
override |
|
private |
Definition at line 53 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 53 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 53 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 53 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 53 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 54 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 55 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 55 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 55 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 55 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 56 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 56 of file fdsabrvanillaengine.hpp.
|
private |
Definition at line 57 of file fdsabrvanillaengine.hpp.