Quadratic-interpolation factory and traits More...
#include <qle/math/quadraticinterpolation.hpp>
Public Member Functions | |
Quadratic (Real x_mul=1, Real x_offset=0, Real y_mul=1, Real y_offset=0, Size skip=0) | |
template<class I1 , class I2 > | |
Interpolation | interpolate (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin) const |
template<class I1 , class I2 > | |
QuantLib::ext::shared_ptr< QuadraticInterpolation > | interpolatePtr (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin) const |
Public Attributes | |
Real | x_mul_ |
Real | x_offset_ |
Real | y_mul_ |
Real | y_offset_ |
Size | skip_ |
Static Public Attributes | |
static const bool | global = false |
static const Size | requiredPoints = 1 |
Quadratic-interpolation factory and traits
Definition at line 68 of file quadraticinterpolation.hpp.
Quadratic | ( | Real | x_mul = 1 , |
Real | x_offset = 0 , |
||
Real | y_mul = 1 , |
||
Real | y_offset = 0 , |
||
Size | skip = 0 |
||
) |
Definition at line 70 of file quadraticinterpolation.hpp.
Interpolation interpolate | ( | const I1 & | xBegin, |
const I1 & | xEnd, | ||
const I2 & | yBegin | ||
) | const |
QuantLib::ext::shared_ptr< QuadraticInterpolation > interpolatePtr | ( | const I1 & | xBegin, |
const I1 & | xEnd, | ||
const I2 & | yBegin | ||
) | const |
|
static |
Definition at line 91 of file quadraticinterpolation.hpp.
|
static |
Definition at line 92 of file quadraticinterpolation.hpp.
Real x_mul_ |
Definition at line 93 of file quadraticinterpolation.hpp.
Real x_offset_ |
Definition at line 94 of file quadraticinterpolation.hpp.
Real y_mul_ |
Definition at line 95 of file quadraticinterpolation.hpp.
Real y_offset_ |
Definition at line 96 of file quadraticinterpolation.hpp.
Size skip_ |
Definition at line 97 of file quadraticinterpolation.hpp.