Rechercher une page de manuel
QuantLib_OneFactorAffineModel
Langue: en
Version: 378825 (fedora - 01/12/10)
Section: 3 (Bibliothèques de fonctions)
NAME
QuantLib::OneFactorAffineModel -Single-factor affine base class.
SYNOPSIS
#include <ql/models/shortrate/onefactormodel.hpp>
Inherits QuantLib::OneFactorModel, and QuantLib::AffineModel.
Inherited by CoxIngersollRoss, and Vasicek.
Public Member Functions
OneFactorAffineModel (Size nArguments)
virtual Real discountBond (Time now, Time maturity, Array factors) const
Real discountBond (Time now, Time maturity, Rate rate) const
DiscountFactor discount (Time t) const
Implied discount curve.
Protected Member Functions
virtual Real A (Time t, Time T) const =0
virtual Real B (Time t, Time T) const =0
Detailed Description
Single-factor affine base class.
Single-factor models with an analytical formula for discount bonds should inherit from this class. They must then implement the functions $ A(t,T) $ and $ B(t,T) $ such that [ P(t, T, r_t) = A(t,T)e^{ -B(t,T) r_t}. ]
Author
Generated automatically by Doxygen for QuantLib from the source code.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre