QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <fdmaffinemodelswapinnervalue.hpp>
Public Member Functions | |
FdmAffineModelSwapInnerValue (ext::shared_ptr< ModelType > disModel, ext::shared_ptr< ModelType > fwdModel, const ext::shared_ptr< FixedVsFloatingSwap > &swap, std::map< Time, Date > exerciseDates, ext::shared_ptr< FdmMesher > mesher, Size direction) | |
Real | innerValue (const FdmLinearOpIterator &iter, Time t) override |
Real | avgInnerValue (const FdmLinearOpIterator &iter, Time t) override |
Public Member Functions inherited from FdmInnerValueCalculator | |
virtual | ~FdmInnerValueCalculator ()=default |
virtual Real | innerValue (const FdmLinearOpIterator &iter, Time t)=0 |
virtual Real | avgInnerValue (const FdmLinearOpIterator &iter, Time t)=0 |
Private Member Functions | |
Array | getState (const ext::shared_ptr< ModelType > &model, Time t, const FdmLinearOpIterator &iter) const |
Array | getState (const ext::shared_ptr< HullWhite > &model, Time t, const FdmLinearOpIterator &iter) const |
Array | getState (const ext::shared_ptr< G2 > &, Time, const FdmLinearOpIterator &iter) const |
Private Attributes | |
RelinkableHandle< YieldTermStructure > | disTs_ |
RelinkableHandle< YieldTermStructure > | fwdTs_ |
const ext::shared_ptr< ModelType > | disModel_ |
const ext::shared_ptr< ModelType > | fwdModel_ |
const ext::shared_ptr< IborIndex > | index_ |
const ext::shared_ptr< FixedVsFloatingSwap > | swap_ |
const std::map< Time, Date > | exerciseDates_ |
const ext::shared_ptr< FdmMesher > | mesher_ |
const Size | direction_ |
Definition at line 40 of file fdmaffinemodelswapinnervalue.hpp.
FdmAffineModelSwapInnerValue | ( | ext::shared_ptr< ModelType > | disModel, |
ext::shared_ptr< ModelType > | fwdModel, | ||
const ext::shared_ptr< FixedVsFloatingSwap > & | swap, | ||
std::map< Time, Date > | exerciseDates, | ||
ext::shared_ptr< FdmMesher > | mesher, | ||
Size | direction | ||
) |
Definition at line 68 of file fdmaffinemodelswapinnervalue.hpp.
|
overridevirtual |
Implements FdmInnerValueCalculator.
Definition at line 89 of file fdmaffinemodelswapinnervalue.hpp.
|
overridevirtual |
Implements FdmInnerValueCalculator.
Definition at line 142 of file fdmaffinemodelswapinnervalue.hpp.
|
private |
|
private |
Definition at line 30 of file fdmaffinemodelswapinnervalue.cpp.
|
private |
Definition at line 38 of file fdmaffinemodelswapinnervalue.cpp.
|
private |
Definition at line 57 of file fdmaffinemodelswapinnervalue.hpp.
|
private |
Definition at line 57 of file fdmaffinemodelswapinnervalue.hpp.
|
private |
Definition at line 58 of file fdmaffinemodelswapinnervalue.hpp.
|
private |
Definition at line 58 of file fdmaffinemodelswapinnervalue.hpp.
|
private |
Definition at line 60 of file fdmaffinemodelswapinnervalue.hpp.
|
private |
Definition at line 61 of file fdmaffinemodelswapinnervalue.hpp.
Definition at line 62 of file fdmaffinemodelswapinnervalue.hpp.
|
private |
Definition at line 63 of file fdmaffinemodelswapinnervalue.hpp.
|
private |
Definition at line 64 of file fdmaffinemodelswapinnervalue.hpp.