QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <flatvol.hpp>
Public Member Functions | |
FlatVol (const std::vector< Volatility > &volatilities, const ext::shared_ptr< PiecewiseConstantCorrelation > &corr, const EvolutionDescription &evolution, Size numberOfFactors, const 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 EvolutionDescription & | evolution () const =0 |
virtual Size | numberOfRates () const =0 |
virtual Size | numberOfFactors () const =0 |
virtual Size | numberOfSteps () const =0 |
virtual const Matrix & | pseudoRoot (Size i) const =0 |
virtual const Matrix & | covariance (Size i) const |
virtual const Matrix & | totalCovariance (Size endIndex) const |
std::vector< Volatility > | timeDependentVolatility (Size i) const |
MarketModel interface | |
Size | numberOfFactors_ |
Size | numberOfRates_ |
Size | numberOfSteps_ |
std::vector< Rate > | initialRates_ |
std::vector< Spread > | displacements_ |
EvolutionDescription | evolution_ |
std::vector< Matrix > | pseudoRoots_ |
const std::vector< Rate > & | initialRates () const override |
const std::vector< Spread > & | displacements () const override |
const EvolutionDescription & | evolution () const override |
Size | numberOfRates () const override |
Size | numberOfFactors () const override |
Size | numberOfSteps () const override |
const Matrix & | pseudoRoot (Size i) const override |
Definition at line 39 of file flatvol.hpp.
FlatVol | ( | const std::vector< Volatility > & | volatilities, |
const ext::shared_ptr< PiecewiseConstantCorrelation > & | corr, | ||
const EvolutionDescription & | evolution, | ||
Size | numberOfFactors, | ||
const std::vector< Rate > & | initialRates, | ||
const std::vector< Spread > & | displacements | ||
) |
|
overridevirtual |
Implements MarketModel.
Definition at line 99 of file flatvol.hpp.
|
overridevirtual |
Implements MarketModel.
Definition at line 103 of file flatvol.hpp.
|
overridevirtual |
Implements MarketModel.
Definition at line 107 of file flatvol.hpp.
|
overridevirtual |
Implements MarketModel.
Definition at line 111 of file flatvol.hpp.
|
overridevirtual |
Implements MarketModel.
Definition at line 115 of file flatvol.hpp.
|
overridevirtual |
Implements MarketModel.
Definition at line 119 of file flatvol.hpp.
Implements MarketModel.
Definition at line 123 of file flatvol.hpp.
|
private |
Definition at line 59 of file flatvol.hpp.
|
private |
Definition at line 59 of file flatvol.hpp.
|
private |
Definition at line 59 of file flatvol.hpp.
|
private |
Definition at line 60 of file flatvol.hpp.
|
private |
Definition at line 61 of file flatvol.hpp.
|
private |
Definition at line 62 of file flatvol.hpp.
|
private |
Definition at line 63 of file flatvol.hpp.