21#ifndef quantlib_ctsmm_caplet_calibration_alfa_form_hpp
22#define quantlib_ctsmm_caplet_calibration_alfa_form_hpp
34 const ext::shared_ptr<PiecewiseConstantCorrelation>& corr,
35 const std::vector<ext::shared_ptr<PiecewiseConstantVariance> >& displacedSwapVariances,
36 const std::vector<Volatility>& capletVols,
37 const ext::shared_ptr<CurveState>& cs,
39 const std::vector<Real>& alphaInitial,
40 const std::vector<Real>& alphaMax,
41 const std::vector<Real>& alphaMin,
42 bool maximizeHomogeneity,
43 ext::shared_ptr<AlphaForm> parametricForm = ext::shared_ptr<AlphaForm>());
45 const std::vector<Real>&
alpha()
const;
50 const std::vector<ext::shared_ptr<PiecewiseConstantVariance> >& displacedSwapVariances,
51 const std::vector<Volatility>& capletVols,
55 const std::vector<Real>& alphaInitial,
56 const std::vector<Real>& alphaMax,
57 const std::vector<Real>& alphaMin,
58 bool maximizeHomogeneity,
59 const ext::shared_ptr<AlphaForm>& parametricForm,
63 Real toleranceForAlphaSolving,
65 std::vector<Real>&
alpha,
69 std::vector<Matrix>& swapCovariancePseudoRoots);
82 inline const std::vector<Real>&
Curve state for market-model simulations
Market-model evolution description.
#define QL_REQUIRE(condition, message)
throw an error if the given pre-condition is not verified
ext::function< Real(Real)> b
unsigned QL_INTEGER Natural
positive integer
QL_INTEGER Integer
integer number
Real Spread
spreads on interest rates
std::size_t Size
size of a container