QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <polynomial2Dspline.hpp>
Public Member Functions | |
Polynomial2DSplineImpl (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, const I2 &yEnd, const M &zData) | |
void | calculate () |
Real | value (Real x, Real y) const |
Public Member Functions inherited from Interpolation2D::templateImpl< I1, I2, M > | |
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 |
Private Attributes | |
std::vector< Interpolation > | polynomials_ |
Additional Inherited Members | |
Protected Member Functions inherited from Interpolation2D::templateImpl< I1, I2, M > | |
Size | locateX (Real x) const override |
Size | locateY (Real y) const override |
Protected Attributes inherited from Interpolation2D::templateImpl< I1, I2, M > | |
I1 | xBegin_ |
I1 | xEnd_ |
I2 | yBegin_ |
I2 | yEnd_ |
const M & | zData_ |
Definition at line 37 of file polynomial2Dspline.hpp.
Polynomial2DSplineImpl | ( | const I1 & | xBegin, |
const I1 & | xEnd, | ||
const I2 & | yBegin, | ||
const I2 & | yEnd, | ||
const M & | zData | ||
) |
|
virtual |
Implements Interpolation2D::Impl.
Definition at line 47 of file polynomial2Dspline.hpp.
Implements Interpolation2D::Impl.
Definition at line 57 of file polynomial2Dspline.hpp.
|
private |
Definition at line 75 of file polynomial2Dspline.hpp.