QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
basic template implementation More...
#include <interpolation2d.hpp>
Public Member Functions | |
templateImpl (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, const I2 &yEnd, const M &zData) | |
Real | xMin () const override |
Real | xMax () const override |
std::vector< Real > | xValues () const override |
Real | yMin () const override |
Real | yMax () const override |
std::vector< Real > | yValues () const override |
const Matrix & | zData () const override |
bool | isInRange (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 |
Protected Member Functions | |
Size | locateX (Real x) const override |
Size | locateY (Real y) const override |
Protected Attributes | |
I1 | xBegin_ |
I1 | xEnd_ |
I2 | yBegin_ |
I2 | yEnd_ |
const M & | zData_ |
basic template implementation
Definition at line 70 of file interpolation2d.hpp.
templateImpl | ( | const I1 & | xBegin, |
const I1 & | xEnd, | ||
const I2 & | yBegin, | ||
const I2 & | yEnd, | ||
const M & | zData | ||
) |
Definition at line 72 of file interpolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 84 of file interpolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 85 of file interpolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 86 of file interpolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 87 of file interpolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 88 of file interpolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 89 of file interpolation2d.hpp.
|
overridevirtual |
Implements Interpolation2D::Impl.
Definition at line 90 of file interpolation2d.hpp.
Implements Interpolation2D::Impl.
Definition at line 91 of file interpolation2d.hpp.
Implements Interpolation2D::Impl.
Definition at line 111 of file interpolation2d.hpp.
Implements Interpolation2D::Impl.
Definition at line 123 of file interpolation2d.hpp.
|
protected |
Definition at line 135 of file interpolation2d.hpp.
|
protected |
Definition at line 135 of file interpolation2d.hpp.
|
protected |
Definition at line 136 of file interpolation2d.hpp.
|
protected |
Definition at line 136 of file interpolation2d.hpp.
|
protected |
Definition at line 137 of file interpolation2d.hpp.