24#ifndef quantlib_lmm_drift_calculator_hpp
25#define quantlib_lmm_drift_calculator_hpp
43 const std::vector<Spread>& displacements,
44 const std::vector<Time>& taus,
49 std::vector<Real>& drifts)
const;
50 void compute(
const std::vector<Rate>& fwds,
51 std::vector<Real>& drifts)
const;
56 std::vector<Real>& drifts)
const;
58 std::vector<Real>& drifts)
const;
63 std::vector<Real>& drifts)
const;
65 std::vector<Real>& drifts)
const;
75 mutable std::vector<Real>
tmp_;
Curve state for Libor market models
Drift computation for log-normal Libor market models.
std::vector< Spread > displacements_
void computePlain(const LMMCurveState &cs, std::vector< Real > &drifts) const
void compute(const LMMCurveState &cs, std::vector< Real > &drifts) const
Computes the drifts.
std::vector< Real > oneOverTaus_
void computeReduced(const LMMCurveState &cs, std::vector< Real > &drifts) const
std::vector< Size > downs_
Matrix used in linear algebra.
std::size_t Size
size of a container
matrix used in linear algebra.