QuantLib_G2 (3) - Linux Man Pages
QuantLib_G2: Two-additive-factor gaussian model class.
QuantLib::G2 - Two-additive-factor gaussian model class.
Inherits QuantLib::TwoFactorModel, QuantLib::AffineModel, and QuantLib::TermStructureConsistentModel.
Public Member Functions
G2 (const Handle< YieldTermStructure > &termStructure, Real a=0.1, Real sigma=0.01, Real b=0.1, Real eta=0.01, Real rho=-0.75)
boost::shared_ptr< ShortRateDynamics > dynamics () const
Returns the short-rate dynamics.
virtual Real discountBond (Time now, Time maturity, Array factors) const
Real discountBond (Time, Time, Rate, Rate) const
Real discountBondOption (Option::Type type, Real strike, Time maturity, Time bondMaturity) const
Real swaption (const Swaption::arguments &arguments, Rate fixedRate, Real range, Size intervals) const
DiscountFactor discount (Time t) const
Implied discount curve.
Protected Member Functions
Two-additive-factor gaussian model class.
This class implements a two-additive-factor model defined by [ dr_t = nd $ y_t $ are defined by [ dx_t = -a x_t dt + igma dW^1_t, x_0 = 0 ] [ dy_t = -b y_t dt + igma dW^2_t, y_0 = 0 ] and $ dW^1_t dW^2_t = ho dt $.
- This class was not tested enough to guarantee its functionality.
Generated automatically by Doxygen for QuantLib from the source code.