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

Constant-interpolation factory and traits More...

#include <qle/math/constantinterpolation.hpp>

+ Collaboration diagram for Constant:

Public Member Functions

QuantLib::Interpolation interpolate (const Real &y) const
 

Static Public Attributes

static const bool global = false
 
static const QuantLib::Size requiredPoints = 1
 

Detailed Description

Constant-interpolation factory and traits

Definition at line 61 of file constantinterpolation.hpp.

Member Function Documentation

◆ interpolate()

QuantLib::Interpolation interpolate ( const Real &  y) const

Definition at line 63 of file constantinterpolation.hpp.

63{ return ConstantInterpolation(y); }
+ Here is the caller graph for this function:

Member Data Documentation

◆ global

const bool global = false
static

Definition at line 64 of file constantinterpolation.hpp.

◆ requiredPoints

const QuantLib::Size requiredPoints = 1
static

Definition at line 65 of file constantinterpolation.hpp.