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

Constant interpolation More...

#include <qle/math/constantinterpolation.hpp>

+ Inheritance diagram for ConstantInterpolation:
+ Collaboration diagram for ConstantInterpolation:

Classes

struct  ConstantInterpolationImpl
 

Public Member Functions

 ConstantInterpolation (const Real &y)
 

Detailed Description

Constant interpolation

Warning:
See the Interpolation class for information about the required lifetime of the underlying data.

Definition at line 37 of file constantinterpolation.hpp.

Constructor & Destructor Documentation

◆ ConstantInterpolation()

ConstantInterpolation ( const Real &  y)

Definition at line 39 of file constantinterpolation.hpp.

39{ impl_ = QuantLib::ext::make_shared<ConstantInterpolationImpl>(y); }