24#ifndef quantlib_sensitivity_analysis_hpp
25#define quantlib_sensitivity_analysis_hpp
44 enum [[deprecated(
"Out of scope; copy this enumeration in your codebase if needed")]]
SensitivityAnalysis {
55 [[deprecated(
"Out of scope; copy this function in your codebase if needed")]]
63 [[deprecated(
"Out of scope; copy this function in your codebase if needed")]]
65 const std::vector<Real>& quantities);
80 [[deprecated(
"Out of scope; copy this function in your codebase if needed")]]
83 const std::vector<ext::shared_ptr<Instrument> >&,
84 const std::vector<Real>& quantities,
87 Real referenceNpv = Null<Real>());
102 [[deprecated(
"Out of scope; copy this function in your codebase if needed")]]
103 std::pair<Real, Real>
105 const std::vector<ext::shared_ptr<Instrument> >&,
106 const std::vector<Real>& quantities,
122 [[deprecated(
"Out of scope; copy this function in your codebase if needed")]]
124 const std::vector<ext::shared_ptr<Instrument> >&,
125 const std::vector<Real>& quantities,
142 [[deprecated(
"Out of scope; copy this function in your codebase if needed")]]
144 std::vector<Real>& gammaVector,
145 std::vector<Real>& referenceValues,
164 [[deprecated(
"Out of scope; copy this function in your codebase if needed")]]
165 std::pair<std::vector<Real>, std::vector<Real> >
167 const std::vector<ext::shared_ptr<Instrument> >&,
168 const std::vector<Real>& quantities,
186 [[deprecated(
"Out of scope; copy this function in your codebase if needed")]]
189 std::vector<std::vector<Real> >& gammaMatrix,
209 [[deprecated(
"Out of scope; copy this function in your codebase if needed")]]
210 std::pair<std::vector<std::vector<Real> >, std::vector<std::vector<Real> > >
212 const std::vector<ext::shared_ptr<Instrument> >&,
213 const std::vector<Real>& quantities,
Shared handle to an observable.
template class providing a null value for a given type.
Real aggregateNPV(const vector< ext::shared_ptr< Instrument > > &instruments, const vector< Real > &quant)
utility fuction for weighted sum of NPVs
pair< Real, Real > parallelAnalysis(const vector< Handle< SimpleQuote > > "es, const vector< ext::shared_ptr< Instrument > > &instruments, const vector< Real > &quantities, Real shift, SensitivityAnalysis type, Real referenceNpv)
parallel shift PV01 sensitivity analysis for a SimpleQuote vector
std::ostream & operator<<(std::ostream &out, GFunctionFactory::YieldCurveModel type)
pair< Real, Real > bucketAnalysis(const Handle< SimpleQuote > "e, const vector< ext::shared_ptr< Instrument > > &instruments, const vector< Real > &quantities, Real shift, SensitivityAnalysis type, Real referenceNpv)
(bucket) PV01 sensitivity analysis for a (single) SimpleQuote
SensitivityAnalysis
Finite differences calculation.
#define QL_DEPRECATED_DISABLE_WARNING
#define QL_DEPRECATED_ENABLE_WARNING
Maps shared_ptr to either the boost or std implementation.