QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <loginterpolation.hpp>
Public Member Functions | |
LogInterpolationImpl (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin, const Interpolator &factory=Interpolator()) | |
void | update () override |
Real | value (Real x) const override |
Real | primitive (Real) const override |
Real | derivative (Real x) const override |
Real | secondDerivative (Real x) const override |
Public Member Functions inherited from Interpolation::templateImpl< I1, I2 > | |
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 |
Private Attributes | |
std::vector< Real > | logY_ |
Interpolation | interpolation_ |
Additional Inherited Members | |
Protected Member Functions inherited from Interpolation::templateImpl< I1, I2 > | |
Size | locate (Real x) const |
Protected Attributes inherited from Interpolation::templateImpl< I1, I2 > | |
I1 | xBegin_ |
I1 | xEnd_ |
I2 | yBegin_ |
Definition at line 357 of file loginterpolation.hpp.
LogInterpolationImpl | ( | const I1 & | xBegin, |
const I1 & | xEnd, | ||
const I2 & | yBegin, | ||
const Interpolator & | factory = Interpolator() |
||
) |
Definition at line 360 of file loginterpolation.hpp.
|
overridevirtual |
Implements Interpolation::Impl.
Definition at line 370 of file loginterpolation.hpp.
Implements Interpolation::Impl.
Definition at line 379 of file loginterpolation.hpp.
Implements Interpolation::Impl.
Definition at line 380 of file loginterpolation.hpp.
Implements Interpolation::Impl.
Definition at line 383 of file loginterpolation.hpp.
Implements Interpolation::Impl.
Definition at line 386 of file loginterpolation.hpp.
|
private |
Definition at line 392 of file loginterpolation.hpp.
|
private |
Definition at line 393 of file loginterpolation.hpp.