|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
#include <vannavolgainterpolation.hpp>
Inheritance diagram for VannaVolgaInterpolationImpl< I1, I2 >:
Collaboration diagram for VannaVolgaInterpolationImpl< I1, I2 >:Public Member Functions | |
| VannaVolgaInterpolationImpl (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, Real spot, DiscountFactor dDiscount, DiscountFactor fDiscount, Time T) | |
| void | update () override |
| Real | value (Real k) const override |
| Real | primitive (Real) const override |
| Real | derivative (Real) const override |
| Real | secondDerivative (Real) const override |
Public Member Functions inherited from Interpolation::templateImpl< I1, I2 > | |
| templateImpl (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, const int requiredPoints=2) | |
| Real | xMin () const override |
| Real | xMax () const override |
| std::vector< Real > | xValues () const override |
| std::vector< Real > | yValues () const override |
| bool | isInRange (Real x) const override |
Public Member Functions inherited from Interpolation::Impl | |
| virtual | ~Impl ()=default |
| virtual void | update ()=0 |
| virtual Real | xMin () const =0 |
| virtual Real | xMax () const =0 |
| virtual std::vector< Real > | xValues () const =0 |
| virtual std::vector< Real > | yValues () const =0 |
| virtual bool | isInRange (Real) const =0 |
| virtual Real | value (Real) const =0 |
| virtual Real | primitive (Real) const =0 |
| virtual Real | derivative (Real) const =0 |
| virtual Real | secondDerivative (Real) const =0 |
Private Member Functions | |
| Real | vega (Real k) const |
Private Attributes | |
| std::vector< Real > | premiaBS |
| std::vector< Real > | premiaMKT |
| std::vector< Real > | vegas |
| Real | atmVol_ |
| Real | spot_ |
| Real | fwd_ |
| DiscountFactor | dDiscount_ |
| DiscountFactor | fDiscount_ |
| Time | T_ |
Additional Inherited Members | |
Protected Member Functions inherited from Interpolation::templateImpl< I1, I2 > | |
| Size | locate (Real x) const |
Protected Attributes inherited from Interpolation::templateImpl< I1, I2 > | |
| I1 | xBegin_ |
| I1 | xEnd_ |
| I2 | yBegin_ |
Definition at line 82 of file vannavolgainterpolation.hpp.
| VannaVolgaInterpolationImpl | ( | const I1 & | xBegin, |
| const I1 & | xEnd, | ||
| const I2 & | yBegin, | ||
| Real | spot, | ||
| DiscountFactor | dDiscount, | ||
| DiscountFactor | fDiscount, | ||
| Time | T | ||
| ) |
Definition at line 85 of file vannavolgainterpolation.hpp.
|
overridevirtual |
Implements Interpolation::Impl.
Definition at line 97 of file vannavolgainterpolation.hpp.
Here is the call graph for this function:Implements Interpolation::Impl.
Definition at line 107 of file vannavolgainterpolation.hpp.
Here is the call graph for this function:Implements Interpolation::Impl.
Definition at line 123 of file vannavolgainterpolation.hpp.
Implements Interpolation::Impl.
Definition at line 126 of file vannavolgainterpolation.hpp.
Implements Interpolation::Impl.
Definition at line 129 of file vannavolgainterpolation.hpp.
Definition at line 144 of file vannavolgainterpolation.hpp.
Here is the caller graph for this function:
|
private |
Definition at line 134 of file vannavolgainterpolation.hpp.
|
private |
Definition at line 135 of file vannavolgainterpolation.hpp.
|
private |
Definition at line 136 of file vannavolgainterpolation.hpp.
|
private |
Definition at line 137 of file vannavolgainterpolation.hpp.
|
private |
Definition at line 138 of file vannavolgainterpolation.hpp.
|
private |
Definition at line 139 of file vannavolgainterpolation.hpp.
|
private |
Definition at line 140 of file vannavolgainterpolation.hpp.
|
private |
Definition at line 141 of file vannavolgainterpolation.hpp.
|
private |
Definition at line 142 of file vannavolgainterpolation.hpp.