Documentation of 'org.jquantlib.model.shortrate.onefactormodels.OneFactorAffineModel' Java class
OneFactorAffineModel
org.jquantlib.model.shortrate.onefactormodels

Class OneFactorAffineModel

  • All Implemented Interfaces:
    AffineModel, Observable, Observer
    Direct Known Subclasses:
    CoxIngersollRoss, Vasicek


    public abstract class OneFactorAffineModel
    extends OneFactorModel
    implements AffineModel
    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 \f$ A(t,T) \f$ and \f$ B(t,T) \f$ such that \f[ P(t, T, r_t) = A(t,T)e^{ -B(t,T) r_t}. \f]

    • Constructor Detail

      • OneFactorAffineModel

        public OneFactorAffineModel(int nArguments)
    • Method Detail

      • discountBond

        public double discountBond(double now,
                                   double maturity,
                                   double rate)
      • discountBond

        public double discountBond(double now,
                                   double maturity,
                                   Array factors)
        Specified by:
        discountBond in interface AffineModel
      • discount

        public double discount(double t)
        Description copied from interface: AffineModel
        Implied discount curve
        Specified by:
        discount in interface AffineModel

DataMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.