|
QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.38
|
basic template implementation More...
#include <interpolation.hpp>
Inheritance diagram for Interpolation::templateImpl< I1, I2 >:
Collaboration diagram for Interpolation::templateImpl< I1, I2 >:Public Member Functions | |
| 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 |
Protected Member Functions | |
| Size | locate (Real x) const |
Protected Attributes | |
| I1 | xBegin_ |
| I1 | xEnd_ |
| I2 | yBegin_ |
basic template implementation
Definition at line 76 of file interpolation.hpp.
| templateImpl | ( | const I1 & | xBegin, |
| const I1 & | xEnd, | ||
| const I2 & | yBegin, | ||
| const int | requiredPoints = 2 |
||
| ) |
Definition at line 78 of file interpolation.hpp.
|
overridevirtual |
Implements Interpolation::Impl.
Definition at line 86 of file interpolation.hpp.
Here is the caller graph for this function:
|
overridevirtual |
Implements Interpolation::Impl.
Definition at line 87 of file interpolation.hpp.
Here is the caller graph for this function:
|
overridevirtual |
Implements Interpolation::Impl.
Definition at line 88 of file interpolation.hpp.
|
overridevirtual |
Implements Interpolation::Impl.
Definition at line 89 of file interpolation.hpp.
Implements Interpolation::Impl.
Definition at line 92 of file interpolation.hpp.
Here is the call graph for this function:
Here is the caller graph for this function:
|
protected |
Definition at line 114 of file interpolation.hpp.
|
protected |
Definition at line 114 of file interpolation.hpp.
|
protected |
Definition at line 115 of file interpolation.hpp.