![]() QuantLib 0.3.3User manualIntroduction to QuantLibQuantLib componentsReference manual |
Interpolation2D Class Template Reference#include <interpolation2D.hpp>
Inheritance diagram for Interpolation2D: ![]() Detailed Descriptiontemplate<class RandomAccessIteratorX, class RandomAccessIteratorY, class MatricialData>
abstract base class for 2-D interpolations
|
Public Types | |
typedef double | result_type |
Public Member Functions | |
Interpolation2D (const RandomAccessIteratorX &xBegin, const RandomAccessIteratorX &xEnd, const RandomAccessIteratorY &yBegin, const RandomAccessIteratorY &yEnd, const MatricialData &data) | |
virtual double | operator() (const first_argument_type &x, const second_argument_type &y, bool allowExtrapolation=false) const=0 |
Public Attributes | |
typedef< RandomAccessIteratorX >::value_type | first_argument_type |
typedef< RandomAccessIteratorY >::value_type | second_argument_type |
Protected Member Functions | |
void | locate (const first_argument_type &x, const second_argument_type &y) const |
Protected Attributes | |
bool | isOutOfRange_ |
RandomAccessIteratorX | xPos_ |
RandomAccessIteratorY | yPos_ |
RandomAccessIteratorX | xBegin_ |
RandomAccessIteratorX | xEnd_ |
RandomAccessIteratorY | yBegin_ |
RandomAccessIteratorY | yEnd_ |
const MatricialData & | data_ |
|
This operator must be overridden to provide an implementation of the actual interpolation.
Implemented in BicubicSplineInterpolation, and BilinearInterpolation. |
QuantLib.org![]() |
Hosted by![]() |
Documentation generated by![]() |