QuantLib: a free/open-source library for quantitative finance
Fully annotated sources - version 1.32
|
#include <ql/math/interpolations/flatextrapolation2d.hpp>
Public Member Functions | |
FlatExtrapolator2DImpl (ext::shared_ptr< Interpolation2D > decoratedInterpolation) | |
Real | xMin () const override |
Real | xMax () const override |
std::vector< Real > | xValues () const override |
Size | locateX (Real x) const override |
Real | yMin () const override |
Real | yMax () const override |
std::vector< Real > | yValues () const override |
Size | locateY (Real y) const override |
const Matrix & | zData () const override |
bool | isInRange (Real x, Real y) const override |
void | update () |
void | calculate () override |
Real | value (Real x, Real y) const override |
Public Member Functions inherited from Interpolation2D::Impl | |
virtual | ~Impl ()=default |
virtual void | calculate ()=0 |
virtual Real | xMin () const =0 |
virtual Real | xMax () const =0 |
virtual std::vector< Real > | xValues () const =0 |
virtual Size | locateX (Real x) const =0 |
virtual Real | yMin () const =0 |
virtual Real | yMax () const =0 |
virtual std::vector< Real > | yValues () const =0 |
virtual Size | locateY (Real y) const =0 |
virtual const Matrix & | zData () const =0 |
virtual bool | isInRange (Real x, Real y) const =0 |
virtual Real | value (Real x, Real y) const =0 |
Private Member Functions | |
Real | bindX (Real x) const |
Real | bindY (Real y) const |
Private Attributes | |
ext::shared_ptr< Interpolation2D > | decoratedInterp_ |
Definition at line 43 of file flatextrapolation2d.hpp.
FlatExtrapolator2DImpl | ( | ext::shared_ptr< Interpolation2D > | decoratedInterpolation | ) |
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 49 of file flatextrapolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 50 of file flatextrapolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 51 of file flatextrapolation2d.hpp.
Implements Interpolation2D::Impl.
Definition at line 52 of file flatextrapolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 53 of file flatextrapolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 54 of file flatextrapolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 55 of file flatextrapolation2d.hpp.
Implements Interpolation2D::Impl.
Definition at line 56 of file flatextrapolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 57 of file flatextrapolation2d.hpp.
Implements Interpolation2D::Impl.
Definition at line 58 of file flatextrapolation2d.hpp.
void update | ( | ) |
Definition at line 61 of file flatextrapolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 64 of file flatextrapolation2d.hpp.
Implements Interpolation2D::Impl.
Definition at line 65 of file flatextrapolation2d.hpp.
Definition at line 74 of file flatextrapolation2d.hpp.
Definition at line 81 of file flatextrapolation2d.hpp.
|
private |
Definition at line 72 of file flatextrapolation2d.hpp.