QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Cubic interpolation factory and traits More...
#include <cubicinterpolation.hpp>
Public Member Functions | |
Cubic (CubicInterpolation::DerivativeApprox da=CubicInterpolation::Kruger, bool monotonic=false, CubicInterpolation::BoundaryCondition leftCondition=CubicInterpolation::SecondDerivative, Real leftConditionValue=0.0, CubicInterpolation::BoundaryCondition rightCondition=CubicInterpolation::SecondDerivative, Real rightConditionValue=0.0) | |
template<class I1 , class I2 > | |
Interpolation | interpolate (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin) const |
Static Public Attributes | |
static const bool | global = true |
static const Size | requiredPoints = 2 |
Cubic interpolation factory and traits
Definition at line 327 of file cubicinterpolation.hpp.
Cubic | ( | CubicInterpolation::DerivativeApprox | da = CubicInterpolation::Kruger , |
bool | monotonic = false , |
||
CubicInterpolation::BoundaryCondition | leftCondition = CubicInterpolation::SecondDerivative , |
||
Real | leftConditionValue = 0.0 , |
||
CubicInterpolation::BoundaryCondition | rightCondition = CubicInterpolation::SecondDerivative , |
||
Real | rightConditionValue = 0.0 |
||
) |
Definition at line 329 of file cubicinterpolation.hpp.
Interpolation interpolate | ( | const I1 & | xBegin, |
const I1 & | xEnd, | ||
const I2 & | yBegin | ||
) | const |
Definition at line 342 of file cubicinterpolation.hpp.
|
static |
Definition at line 350 of file cubicinterpolation.hpp.
|
static |
Definition at line 351 of file cubicinterpolation.hpp.
|
private |
Definition at line 353 of file cubicinterpolation.hpp.
|
private |
Definition at line 354 of file cubicinterpolation.hpp.
|
private |
Definition at line 355 of file cubicinterpolation.hpp.
|
private |
Definition at line 355 of file cubicinterpolation.hpp.
|
private |
Definition at line 356 of file cubicinterpolation.hpp.
|
private |
Definition at line 356 of file cubicinterpolation.hpp.