32 bool indexIsInterpolated)
const {
35 Size n_samples = z.
size();
37 std::pair<Real, Real> Vs =
cam_->infdkV(i, t, T);
45 const auto& zts =
cam_->infdk(i)->termStructure();
46 auto dc =
cam_->irlgm1f(0)->termStructure()->dayCounter();
59 return std::make_pair(It, Itilde_t_T);
const QuantLib::ext::shared_ptr< CrossAssetModel > cam_
InfDkVectorised(const QuantLib::ext::shared_ptr< CrossAssetModel > &cam)
std::pair< RandomVariable, RandomVariable > infdkI(const Size i, const Time t, const Time T, const RandomVariable &z, const RandomVariable &y, bool indexIsInterpolated) const
some inflation related utilities.
CompiledFormula exp(CompiledFormula x)
Real inflationGrowth(const QuantLib::ext::shared_ptr< CrossAssetModel > &model, Size index, Time S, Time T, Real irState, Real rrState, bool indexIsInterpolated)