QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
Loading...
Searching...
No Matches
Public Member Functions | Static Public Attributes | List of all members

Linear-interpolation factory and traits More...

#include <linearinterpolation.hpp>

+ Collaboration diagram for Linear:

Public Member Functions

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

Static Public Attributes

static const bool global = false
 
static const Size requiredPoints = 2
 

Detailed Description

Linear-interpolation factory and traits

Definition at line 57 of file linearinterpolation.hpp.

Member Function Documentation

◆ interpolate()

Interpolation interpolate ( const I1 &  xBegin,
const I1 &  xEnd,
const I2 &  yBegin 
) const

Definition at line 60 of file linearinterpolation.hpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ global

const bool global = false
static

Definition at line 64 of file linearinterpolation.hpp.

◆ requiredPoints

const Size requiredPoints = 2
static

Definition at line 65 of file linearinterpolation.hpp.