35QuantLib::ext::shared_ptr<Scenario>
getDifferenceScenario(
const QuantLib::ext::shared_ptr<Scenario>& s1,
36 const QuantLib::ext::shared_ptr<Scenario>& s2,
37 const Date& targetScenarioAsOf = Date(),
38 const Real targetScenarioNumeraire = 0.0);
43 const QuantLib::ext::shared_ptr<Scenario>& d,
44 const Date& targetScenarioAsOf = Date(),
45 const Real targetScenarioNumeraire = 0.0);
48 const QuantLib::ext::shared_ptr<Scenario>& scenario,
49 const std::map<std::pair<RiskFactorKey::KeyType, std::string>, std::vector<std::vector<Real>>>& oldCoordinates,
50 const std::map<std::pair<RiskFactorKey::KeyType, std::string>, std::vector<std::vector<Real>>>& newCoordinates);
53 const QuantLib::ext::shared_ptr<Scenario>& scenario,
54 const std::map<std::pair<RiskFactorKey::KeyType, std::string>, std::vector<std::vector<Real>>>& oldCoordinates,
55 const std::set<std::tuple<
RiskFactorKey::KeyType, std::string, std::vector<std::vector<Real>>>>& newCoordinates);
KeyType
Risk Factor types.
Real getDifferenceScenario(const RiskFactorKey::KeyType keyType, const Real v1, const Real v2)
QuantLib::ext::shared_ptr< Scenario > recastScenario(const QuantLib::ext::shared_ptr< Scenario > &scenario, const std::map< std::pair< RiskFactorKey::KeyType, std::string >, std::vector< std::vector< Real > > > &oldCoordinates, const std::map< std::pair< RiskFactorKey::KeyType, std::string >, std::vector< std::vector< Real > > > &newCoordinates)
Real addDifferenceToScenario(const RiskFactorKey::KeyType keyType, const Real v, const Real d)