#include <qle/models/linearannuitymapping.hpp>
Public Member Functions | |
LinearAnnuityMapping (const Real a, const Real b) | |
Real | map (const Real S) const override |
Real | mapPrime (const Real S) const override |
Real | mapPrime2 (const Real S) const override |
bool | mapPrime2IsZero () const override |
Real | a () const |
Real | b () const |
Public Member Functions inherited from AnnuityMapping | |
virtual | ~AnnuityMapping () |
virtual Real | map (const Real S) const =0 |
virtual Real | mapPrime (const Real S) const |
virtual Real | mapPrime2 (const Real S) const |
virtual bool | mapPrime2IsZero () const =0 |
Private Attributes | |
Real | a_ |
Real | b_ |
Additional Inherited Members | |
Protected Attributes inherited from AnnuityMapping | |
double | h_ = 1E-6 |
linear annuity mapping function f(S) = a*S+b
Definition at line 30 of file linearannuitymapping.hpp.
LinearAnnuityMapping | ( | const Real | a, |
const Real | b | ||
) |
Definition at line 29 of file linearannuitymapping.cpp.
|
overridevirtual |
Implements AnnuityMapping.
Definition at line 31 of file linearannuitymapping.cpp.
|
overridevirtual |
|
overridevirtual |
Reimplemented from AnnuityMapping.
Definition at line 35 of file linearannuitymapping.cpp.
|
overridevirtual |
Implements AnnuityMapping.
Definition at line 37 of file linearannuitymapping.cpp.
Real a | ( | ) | const |
Definition at line 39 of file linearannuitymapping.hpp.
Real b | ( | ) | const |
Definition at line 40 of file linearannuitymapping.hpp.
|
private |
Definition at line 43 of file linearannuitymapping.hpp.
|
private |
Definition at line 43 of file linearannuitymapping.hpp.