SysTutorials

Linux Manual Pages › Section 3

quantlib_linearinterpolation(3)

QuantLib::LinearInterpolation – Linear interpolation between discrete points

Synopsis

#include <ql/math/interpolations/linearinterpolation.hpp>

Inherits QuantLib::Interpolation.

Public Member Functions

template<class I1 , class I2 > LinearInterpolation (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin)

Detailed Description

Linear interpolation between discrete points

Constructor & Destructor Documentation

LinearInterpolation (const I1 & xBegin, const I1 & xEnd, const I2 & yBegin)

Precondition:

the $ x $ values must be sorted.

Author

Generated automatically by Doxygen for QuantLib from the source code.