Option surface interpolator base. More...
#include <qle/interpolators/optioninterpolator2d.hpp>
Public Member Functions | |
virtual | ~OptionInterpolatorBase () |
OptionInterpolatorBase (const QuantLib::Date &referenceDate) | |
virtual QuantLib::Real | getValue (QuantLib::Time t, QuantLib::Real strike) const =0 |
virtual access methods More... | |
virtual QuantLib::Real | getValue (QuantLib::Date d, QuantLib::Real strike) const =0 |
const QuantLib::Date & | referenceDate () const |
std::vector< QuantLib::Time > | times () const |
std::vector< QuantLib::Date > | expiries () const |
std::vector< std::vector< QuantLib::Real > > | strikes () const |
std::vector< std::vector< QuantLib::Real > > | values () const |
Protected Attributes | |
std::vector< QuantLib::Date > | expiries_ |
std::vector< QuantLib::Time > | times_ |
std::vector< std::vector< QuantLib::Real > > | strikes_ |
std::vector< std::vector< QuantLib::Real > > | values_ |
QuantLib::Date | referenceDate_ |
Option surface interpolator base.
Definition at line 42 of file optioninterpolator2d.hpp.
|
virtual |
Definition at line 46 of file optioninterpolator2d.hpp.
|
explicit |
Definition at line 48 of file optioninterpolator2d.hpp.
|
pure virtual |
virtual access methods
Implemented in OptionInterpolator2d< InterpolatorStrike, InterpolatorExpiry >, and OptionInterpolator2d< QuantLib::Linear, QuantLib::Linear >.
|
pure virtual |
const QuantLib::Date & referenceDate | ( | ) | const |
std::vector< QuantLib::Time > times | ( | ) | const |
Definition at line 55 of file optioninterpolator2d.hpp.
std::vector< QuantLib::Date > expiries | ( | ) | const |
Definition at line 56 of file optioninterpolator2d.hpp.
std::vector< std::vector< QuantLib::Real > > strikes | ( | ) | const |
Definition at line 57 of file optioninterpolator2d.hpp.
std::vector< std::vector< QuantLib::Real > > values | ( | ) | const |
Definition at line 58 of file optioninterpolator2d.hpp.
|
protected |
Definition at line 61 of file optioninterpolator2d.hpp.
|
protected |
Definition at line 62 of file optioninterpolator2d.hpp.
|
protected |
Definition at line 63 of file optioninterpolator2d.hpp.
|
protected |
Definition at line 64 of file optioninterpolator2d.hpp.
|
protected |
Definition at line 65 of file optioninterpolator2d.hpp.