24#ifndef quantlib_square_root_clv_model_hpp
25#define quantlib_square_root_clv_model_hpp
37 class GBSMRNDCalculator;
38 class SquareRootProcess;
39 class GeneralizedBlackScholesProcess;
44 ext::shared_ptr<SquareRootProcess> sqrtProcess,
45 std::vector<Date> maturityDates,
76 const ext::shared_ptr<Matrix>
s_,
x_;
77 typedef std::map<Time, ext::shared_ptr<LagrangeInterpolation> >
86 const ext::shared_ptr<GeneralizedBlackScholesProcess>
bsProcess_;
1-D array used in linear algebra.
Framework for calculation on demand and result caching.
template class providing a null value for a given type.
Real operator()(Time t, Real x) const
const ext::shared_ptr< Matrix > x_
std::map< Time, ext::shared_ptr< LagrangeInterpolation > > interpl_type
const ext::shared_ptr< Matrix > s_
const std::vector< Date > maturityDates_
const Size lagrangeOrder_
void performCalculations() const override
const ext::shared_ptr< GeneralizedBlackScholesProcess > bsProcess_
const ext::shared_ptr< SquareRootProcess > sqrtProcess_
Real invCDF(const Date &d, Real q) const
Real cdf(const Date &d, Real x) const
ext::function< Real(Time, Real)> g_
const ext::shared_ptr< GBSMRNDCalculator > rndCalculator_
std::pair< Real, Real > nonCentralChiSquaredParams(const Date &d) const
Array collocationPointsX(const Date &d) const
Array collocationPointsY(const Date &d) const
ext::function< Real(Time, Real)> g() const
date- and time-related classes, typedefs and enumerations
Maps function, bind and cref to either the boost or std implementation.
non central chi squared polynomials for Gaussian quadratures
Real Time
continuous quantity with 1-year units
std::size_t Size
size of a container
framework for calculation on demand and result caching
matrix used in linear algebra.
ext::shared_ptr< YieldTermStructure > q