QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <bumpinstrumentjacobian.hpp>
Public Member Functions | |
OrthogonalizedBumpFinder (const VegaBumpCollection &bumps, const std::vector< VolatilityBumpInstrumentJacobian::Swaption > &swaptions, const std::vector< VolatilityBumpInstrumentJacobian::Cap > &caps, Real multiplierCutOff, Real tolerance) | |
void | GetVegaBumps (std::vector< std::vector< Matrix > > &theBumps) const |
Private Attributes | |
VolatilityBumpInstrumentJacobian | derivativesProducer_ |
Real | multiplierCutOff_ |
Real | tolerance_ |
Pass in a market model, a list of instruments, and possible bumps.
Get out pseudo-root bumps that shift each implied vol by one percent, and leave the other instruments fixed.
If the contribution of an instrument is too correlated with other instruments used, discard it.
Definition at line 90 of file bumpinstrumentjacobian.hpp.
OrthogonalizedBumpFinder | ( | const VegaBumpCollection & | bumps, |
const std::vector< VolatilityBumpInstrumentJacobian::Swaption > & | swaptions, | ||
const std::vector< VolatilityBumpInstrumentJacobian::Cap > & | caps, | ||
Real | multiplierCutOff, | ||
Real | tolerance | ||
) |
Definition at line 138 of file bumpinstrumentjacobian.cpp.
void GetVegaBumps | ( | std::vector< std::vector< Matrix > > & | theBumps | ) | const |
Definition at line 152 of file bumpinstrumentjacobian.cpp.
|
private |
Definition at line 104 of file bumpinstrumentjacobian.hpp.
|
private |
Definition at line 105 of file bumpinstrumentjacobian.hpp.
|
private |
Definition at line 106 of file bumpinstrumentjacobian.hpp.