![]() QuantLib 0.3.3User manualIntroduction to QuantLibQuantLib componentsReference manual |
LinearInterpolation Class Template Reference#include <linearinterpolation.hpp>
Inheritance diagram for LinearInterpolation: ![]() Detailed Descriptiontemplate<class RandomAccessIterator1, class RandomAccessIterator2>
linear interpolation between discrete points
|
||||||||||||||||||||||||||||
Public Member Functions | |
| LinearInterpolation (const RandomAccessIterator1 &xBegin, const RandomAccessIterator1 &xEnd, const RandomAccessIterator2 &yBegin) | |
| result_type | operator() (const argument_type &x, bool allowExtrapolation=false) const |
Public Attributes | |
|
typedef< RandomAccessIterator1 >::value_type | argument_type |
|
typedef< RandomAccessIterator2 >::value_type | result_type |
|
||||||||||||
|
This operator must be overridden to provide an implementation of the actual interpolation.
Implements Interpolation. |
QuantLib.org
|
Hosted by |
Documentation generated by
|