21#ifndef quantlib_ctsmm_caplet_calibration_max_homogeneity_hpp
22#define quantlib_ctsmm_caplet_calibration_max_homogeneity_hpp
32 const ext::shared_ptr<PiecewiseConstantCorrelation>& corr,
33 const std::vector<ext::shared_ptr<
35 displacedSwapVariances,
36 const std::vector<Volatility>& capletVols,
37 const ext::shared_ptr<CurveState>& cs,
39 Real caplet0Swaption1Priority = 1.0);
45 const std::vector<ext::shared_ptr<PiecewiseConstantVariance> >& displacedSwapVariances,
46 const std::vector<Volatility>& capletVols,
49 Real caplet0Swaption1Priority,
54 Real& totalSwaptionError,
55 std::vector<Matrix>& swapCovariancePseudoRoots);
Real deformationSize() const
Real caplet0Swaption1Priority_
static Natural capletMaxHomogeneityCalibration(const EvolutionDescription &evolution, const PiecewiseConstantCorrelation &corr, const std::vector< ext::shared_ptr< PiecewiseConstantVariance > > &displacedSwapVariances, const std::vector< Volatility > &capletVols, const CurveState &cs, Spread displacement, Real caplet0Swaption1Priority, Size numberOfFactors, Size maxIterations, Real tolerance, Real &deformationSize, Real &totalSwaptionError, std::vector< Matrix > &swapCovariancePseudoRoots)
Natural calibrationImpl_(Natural numberOfFactors, Natural maxIterations, Real tolerance) override
Curve state for market-model simulations
Market-model evolution description.
unsigned QL_INTEGER Natural
positive integer
Real Spread
spreads on interest rates
std::size_t Size
size of a container