QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
|
Classes | |
class | ObjectiveFunction |
Public Member Functions | |
GFunctionWithShifts (const CmsCoupon &coupon, Handle< Quote > meanReversion) | |
Real | operator() (Real x) override |
Real | firstDerivative (Real x) override |
Real | secondDerivative (Real x) override |
Public Member Functions inherited from GFunction | |
virtual | ~GFunction ()=default |
virtual Real | operator() (Real x)=0 |
virtual Real | firstDerivative (Real x)=0 |
virtual Real | secondDerivative (Real x)=0 |
Private Member Functions | |
Real | shapeOfShift (Real s) const |
Real | calibrationOfShift (Real Rs) |
Real | functionZ (Real x) |
Real | derRs_derX (Real x) |
Real | derZ_derX (Real x) |
Real | der2Rs_derX2 (Real x) |
Real | der2Z_derX2 (Real x) |
Private Attributes | |
Time | swapStartTime_ |
Time | shapedPaymentTime_ |
std::vector< Time > | shapedSwapPaymentTimes_ |
std::vector< Time > | accruals_ |
std::vector< Real > | swapPaymentDiscounts_ |
Real | discountAtStart_ |
Real | discountRatio_ |
Real | swapRateValue_ |
Handle< Quote > | meanReversion_ |
Real | calibratedShift_ = 0.03 |
Real | tmpRs_ = 10000000.0 |
const Real | accuracy_ = 1.0e-14 |
ext::shared_ptr< ObjectiveFunction > | objectiveFunction_ |
Definition at line 133 of file conundrumpricer.hpp.
GFunctionWithShifts | ( | const CmsCoupon & | coupon, |
Handle< Quote > | meanReversion | ||
) |
Definition at line 783 of file conundrumpricer.cpp.
Definition at line 788 of file conundrumpricer.cpp.
Definition at line 849 of file conundrumpricer.cpp.
Definition at line 808 of file conundrumpricer.cpp.
Definition at line 861 of file conundrumpricer.cpp.
Implements GFunction.
Definition at line 778 of file conundrumpricer.cpp.
Implements GFunction.
Definition at line 885 of file conundrumpricer.cpp.
Implements GFunction.
Definition at line 892 of file conundrumpricer.cpp.
|
private |
Definition at line 135 of file conundrumpricer.hpp.
|
private |
Definition at line 137 of file conundrumpricer.hpp.
|
private |
Definition at line 138 of file conundrumpricer.hpp.
|
private |
Definition at line 140 of file conundrumpricer.hpp.
|
private |
Definition at line 141 of file conundrumpricer.hpp.
|
private |
Definition at line 142 of file conundrumpricer.hpp.
|
private |
Definition at line 142 of file conundrumpricer.hpp.
|
private |
Definition at line 144 of file conundrumpricer.hpp.
Definition at line 145 of file conundrumpricer.hpp.
|
private |
Definition at line 147 of file conundrumpricer.hpp.
|
private |
Definition at line 147 of file conundrumpricer.hpp.
|
private |
Definition at line 148 of file conundrumpricer.hpp.
|
private |
Definition at line 173 of file conundrumpricer.hpp.