Logo
Fully annotated reference manual - version 1.8.12
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
LogQuadratic Class Reference

log-quadratic interpolation factory and traits More...

#include <qle/math/logquadraticinterpolation.hpp>

+ Collaboration diagram for LogQuadratic:

Public Member Functions

 LogQuadratic (Real x_mul=1, Real x_offset=0, Real y_mul=1, Real y_offset=0, Size skip=0)
 
template<class I1 , class I2 >
Interpolation interpolate (const I1 &xBegin, const I1 &xEnd, const I2 &yBegin) const
 

Public Attributes

Real x_mul_
 
Real x_offset_
 
Real y_mul_
 
Real y_offset_
 
Size skip_
 

Static Public Attributes

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

Detailed Description

log-quadratic interpolation factory and traits

Definition at line 76 of file logquadraticinterpolation.hpp.

Constructor & Destructor Documentation

◆ LogQuadratic()

LogQuadratic ( Real  x_mul = 1,
Real  x_offset = 0,
Real  y_mul = 1,
Real  y_offset = 0,
Size  skip = 0 
)

Member Function Documentation

◆ interpolate()

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

Definition at line 85 of file logquadraticinterpolation.hpp.

86 {
87 return LogQuadraticInterpolation(
88 xBegin, xEnd, yBegin,
90 }

Member Data Documentation

◆ global

const bool global = false
static

Definition at line 91 of file logquadraticinterpolation.hpp.

◆ requiredPoints

const Size requiredPoints = 2
static

Definition at line 92 of file logquadraticinterpolation.hpp.

◆ x_mul_

Real x_mul_

Definition at line 93 of file logquadraticinterpolation.hpp.

◆ x_offset_

Real x_offset_

Definition at line 94 of file logquadraticinterpolation.hpp.

◆ y_mul_

Real y_mul_

Definition at line 95 of file logquadraticinterpolation.hpp.

◆ y_offset_

Real y_offset_

Definition at line 96 of file logquadraticinterpolation.hpp.

◆ skip_

Size skip_

Definition at line 97 of file logquadraticinterpolation.hpp.