![]() QuantLib 0.3.3User manualIntroduction to QuantLibQuantLib componentsReference manual |
Interpolation Class Template Reference#include <interpolation.hpp>
Inheritance diagram for Interpolation: ![]() Detailed Descriptiontemplate<class RandomAccessIterator1, class RandomAccessIterator2>
abstract base class for 1-D interpolations
|
||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| Interpolation (const RandomAccessIterator1 &xBegin, const RandomAccessIterator1 &xEnd, const RandomAccessIterator2 &yBegin) | |
| virtual result_type | operator() (const argument_type &x, bool allowExtrapolation=false) const=0 |
Public Attributes | |
|
typedef< RandomAccessIterator1 >::value_type | argument_type |
|
typedef< RandomAccessIterator2 >::value_type | result_type |
Protected Member Functions | |
| void | locate (const argument_type &x) const |
Protected Attributes | |
| bool | isOutOfRange_ |
| RandomAccessIterator1 | position_ |
| RandomAccessIterator1 | xBegin_ |
| RandomAccessIterator1 | xEnd_ |
| RandomAccessIterator2 | yBegin_ |
| Size | n_ |
|
||||||||||||
|
This operator must be overridden to provide an implementation of the actual interpolation.
Implemented in CubicSpline, LinearInterpolation, LogLinearInterpolation, and LinearInterpolation< RandomAccessIterator1, typename std::vector< result_type >::const_iterator >. |
QuantLib.org
|
Hosted by |
Documentation generated by
|