QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <cmsmarketcalibration.hpp>
Public Types | |
enum | CalibrationType { OnSpread , OnPrice , OnForwardCmsPrice } |
Public Member Functions | |
CmsMarketCalibration (Handle< SwaptionVolatilityStructure > &volCube, ext::shared_ptr< CmsMarket > &cmsMarket, const Matrix &weights, CalibrationType calibrationType) | |
Array | compute (const ext::shared_ptr< EndCriteria > &endCriteria, const ext::shared_ptr< OptimizationMethod > &method, const Array &guess, bool isMeanReversionFixed) |
Matrix | compute (const ext::shared_ptr< EndCriteria > &endCriteria, const ext::shared_ptr< OptimizationMethod > &method, const Matrix &guess, bool isMeanReversionFixed, Real meanReversionGuess=Null< Real >()) |
Matrix | computeParametric (const ext::shared_ptr< EndCriteria > &endCriteria, const ext::shared_ptr< OptimizationMethod > &method, const Matrix &guess, bool isMeanReversionFixed, Real meanReversionGuess=Null< Real >()) |
Real | error () const |
EndCriteria::Type | endCriteria () |
Static Public Member Functions | |
static Real | betaTransformInverse (Real beta) |
static Real | betaTransformDirect (Real y) |
static Real | reversionTransformInverse (Real reversion) |
static Real | reversionTransformDirect (Real y) |
Public Attributes | |
Handle< SwaptionVolatilityStructure > | volCube_ |
ext::shared_ptr< CmsMarket > | cmsMarket_ |
Matrix | weights_ |
CalibrationType | calibrationType_ |
Matrix | sparseSabrParameters_ |
Matrix | denseSabrParameters_ |
Matrix | browseCmsMarket_ |
Private Attributes | |
Real | error_ |
EndCriteria::Type | endCriteria_ |
Definition at line 39 of file cmsmarketcalibration.hpp.
enum CalibrationType |
Enumerator | |
---|---|
OnSpread | |
OnPrice | |
OnForwardCmsPrice |
Definition at line 41 of file cmsmarketcalibration.hpp.
CmsMarketCalibration | ( | Handle< SwaptionVolatilityStructure > & | volCube, |
ext::shared_ptr< CmsMarket > & | cmsMarket, | ||
const Matrix & | weights, | ||
CalibrationType | calibrationType | ||
) |
Array compute | ( | const ext::shared_ptr< EndCriteria > & | endCriteria, |
const ext::shared_ptr< OptimizationMethod > & | method, | ||
const Array & | guess, | ||
bool | isMeanReversionFixed | ||
) |
Matrix compute | ( | const ext::shared_ptr< EndCriteria > & | endCriteria, |
const ext::shared_ptr< OptimizationMethod > & | method, | ||
const Matrix & | guess, | ||
bool | isMeanReversionFixed, | ||
Real | meanReversionGuess = Null<Real>() |
||
) |
Matrix computeParametric | ( | const ext::shared_ptr< EndCriteria > & | endCriteria, |
const ext::shared_ptr< OptimizationMethod > & | method, | ||
const Matrix & | guess, | ||
bool | isMeanReversionFixed, | ||
Real | meanReversionGuess = Null<Real>() |
||
) |
Real error | ( | ) | const |
Definition at line 72 of file cmsmarketcalibration.hpp.
EndCriteria::Type endCriteria | ( | ) |
Handle<SwaptionVolatilityStructure> volCube_ |
Definition at line 49 of file cmsmarketcalibration.hpp.
ext::shared_ptr<CmsMarket> cmsMarket_ |
Definition at line 50 of file cmsmarketcalibration.hpp.
Matrix weights_ |
Definition at line 51 of file cmsmarketcalibration.hpp.
CalibrationType calibrationType_ |
Definition at line 52 of file cmsmarketcalibration.hpp.
Matrix sparseSabrParameters_ |
Definition at line 53 of file cmsmarketcalibration.hpp.
Matrix denseSabrParameters_ |
Definition at line 53 of file cmsmarketcalibration.hpp.
Matrix browseCmsMarket_ |
Definition at line 53 of file cmsmarketcalibration.hpp.
|
private |
Definition at line 92 of file cmsmarketcalibration.hpp.
|
private |
Definition at line 93 of file cmsmarketcalibration.hpp.