QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Affine model class. More...
#include <model.hpp>
Public Member Functions | |
virtual DiscountFactor | discount (Time t) const =0 |
Implied discount curve. More... | |
virtual Real | discountBond (Time now, Time maturity, Array factors) const =0 |
virtual Real | discountBondOption (Option::Type type, Real strike, Time maturity, Time bondMaturity) const =0 |
virtual Real | discountBondOption (Option::Type type, Real strike, Time maturity, Time bondStart, Time bondMaturity) const |
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 () |
Affine model class.
Base class for analytically tractable models.
|
pure virtual |
Implied discount curve.
Implemented in LiborForwardModel, OneFactorAffineModel, and G2.
Implemented in LiborForwardModel, OneFactorAffineModel, and G2.
|
pure virtual |
Implemented in GeneralizedHullWhite, LiborForwardModel, CoxIngersollRoss, ExtendedCoxIngersollRoss, HullWhite, Vasicek, and G2.