QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | List of all members
PseudoRootFacade Class Reference

#include <pseudorootfacade.hpp>

+ Inheritance diagram for PseudoRootFacade:
+ Collaboration diagram for PseudoRootFacade:

Public Member Functions

 PseudoRootFacade (const ext::shared_ptr< CTSMMCapletCalibration > &calibrator)
 
 PseudoRootFacade (const std::vector< Matrix > &covariancePseudoRoots, const std::vector< Rate > &rateTimes, std::vector< Rate > initialRates, const std::vector< Spread > &displacements)
 
- Public Member Functions inherited from MarketModel
virtual ~MarketModel ()=default
 
virtual const std::vector< Rate > & initialRates () const =0
 
virtual const std::vector< Spread > & displacements () const =0
 
virtual const EvolutionDescriptionevolution () const =0
 
virtual Size numberOfRates () const =0
 
virtual Size numberOfFactors () const =0
 
virtual Size numberOfSteps () const =0
 
virtual const MatrixpseudoRoot (Size i) const =0
 
virtual const Matrixcovariance (Size i) const
 
virtual const MatrixtotalCovariance (Size endIndex) const
 
std::vector< VolatilitytimeDependentVolatility (Size i) const
 

MarketModel interface

Size numberOfFactors_
 
Size numberOfRates_
 
Size numberOfSteps_
 
std::vector< RateinitialRates_
 
std::vector< Spreaddisplacements_
 
EvolutionDescription evolution_
 
std::vector< MatrixcovariancePseudoRoots_
 
const std::vector< Rate > & initialRates () const override
 
const std::vector< Spread > & displacements () const override
 
const EvolutionDescriptionevolution () const override
 
Size numberOfRates () const override
 
Size numberOfFactors () const override
 
Size numberOfSteps () const override
 
const MatrixpseudoRoot (Size i) const override
 

Detailed Description

Definition at line 33 of file pseudorootfacade.hpp.

Constructor & Destructor Documentation

◆ PseudoRootFacade() [1/2]

PseudoRootFacade ( const ext::shared_ptr< CTSMMCapletCalibration > &  calibrator)

Definition at line 28 of file pseudorootfacade.cpp.

◆ PseudoRootFacade() [2/2]

PseudoRootFacade ( const std::vector< Matrix > &  covariancePseudoRoots,
const std::vector< Rate > &  rateTimes,
std::vector< Rate initialRates,
const std::vector< Spread > &  displacements 
)

Definition at line 36 of file pseudorootfacade.cpp.

+ Here is the call graph for this function:

Member Function Documentation

◆ initialRates()

const std::vector< Rate > & initialRates ( ) const
overridevirtual

Implements MarketModel.

Definition at line 60 of file pseudorootfacade.hpp.

◆ displacements()

const std::vector< Spread > & displacements ( ) const
overridevirtual

Implements MarketModel.

Definition at line 64 of file pseudorootfacade.hpp.

+ Here is the caller graph for this function:

◆ evolution()

const EvolutionDescription & evolution ( ) const
overridevirtual

Implements MarketModel.

Definition at line 68 of file pseudorootfacade.hpp.

◆ numberOfRates()

Size numberOfRates ( ) const
overridevirtual

Implements MarketModel.

Definition at line 72 of file pseudorootfacade.hpp.

◆ numberOfFactors()

Size numberOfFactors ( ) const
overridevirtual

Implements MarketModel.

Definition at line 76 of file pseudorootfacade.hpp.

◆ numberOfSteps()

Size numberOfSteps ( ) const
overridevirtual

Implements MarketModel.

Definition at line 80 of file pseudorootfacade.hpp.

◆ pseudoRoot()

const Matrix & pseudoRoot ( Size  i) const
overridevirtual

Implements MarketModel.

Definition at line 84 of file pseudorootfacade.hpp.

Member Data Documentation

◆ numberOfFactors_

Size numberOfFactors_
private

Definition at line 51 of file pseudorootfacade.hpp.

◆ numberOfRates_

Size numberOfRates_
private

Definition at line 51 of file pseudorootfacade.hpp.

◆ numberOfSteps_

Size numberOfSteps_
private

Definition at line 51 of file pseudorootfacade.hpp.

◆ initialRates_

std::vector<Rate> initialRates_
private

Definition at line 52 of file pseudorootfacade.hpp.

◆ displacements_

std::vector<Spread> displacements_
private

Definition at line 53 of file pseudorootfacade.hpp.

◆ evolution_

EvolutionDescription evolution_
private

Definition at line 54 of file pseudorootfacade.hpp.

◆ covariancePseudoRoots_

std::vector<Matrix> covariancePseudoRoots_
private

Definition at line 55 of file pseudorootfacade.hpp.