25#ifndef quantlib_smm_drift_calculator_hpp
26#define quantlib_smm_drift_calculator_hpp
33 class CoterminalSwapCurveState;
43 const std::vector<Spread>& displacements,
44 const std::vector<Time>& taus,
49 std::vector<Real>& drifts)
const;
57 mutable std::vector<Real>
tmp_;
Curve state for coterminal-swap market models
Matrix used in linear algebra.
Drift computation for coterminal swap market models.
std::vector< Spread > displacements_
std::vector< Real > oneOverTaus_
void compute(const CoterminalSwapCurveState &cs, std::vector< Real > &drifts) const
Computes the drifts.
std::size_t Size
size of a container
matrix used in linear algebra.