QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Helper class to build interpolated term structures. More...
#include <interpolatedcurve.hpp>
Public Member Functions | |
~InterpolatedCurve ()=default | |
Protected Member Functions | |
Building | |
InterpolatedCurve (std::vector< Time > times, std::vector< Real > data, const Interpolator &i=Interpolator()) | |
InterpolatedCurve (std::vector< Time > times, const Interpolator &i=Interpolator()) | |
InterpolatedCurve (Size n, const Interpolator &i=Interpolator()) | |
InterpolatedCurve (const Interpolator &i=Interpolator()) | |
Copying | |
InterpolatedCurve (const InterpolatedCurve &c) | |
InterpolatedCurve & | operator= (const InterpolatedCurve &c) |
Moving | |
InterpolatedCurve (InterpolatedCurve &&c) noexcept | |
InterpolatedCurve & | operator= (InterpolatedCurve &&c) noexcept |
Utilities | |
std::vector< Time > | times_ |
std::vector< Real > | data_ |
Interpolation | interpolation_ |
Interpolator | interpolator_ |
Date | maxDate_ |
void | setupTimes (const std::vector< Date > &dates, Date referenceDate, const DayCounter &dayCounter) |
void | setupInterpolation () |
Helper class to build interpolated term structures.
Interpolated term structures can use proected or private inheritance from this class to obtain the relevant data members and implement correct copy behavior.
Definition at line 41 of file interpolatedcurve.hpp.
|
default |
|
protected |
Definition at line 48 of file interpolatedcurve.hpp.
|
protected |
Definition at line 53 of file interpolatedcurve.hpp.
|
protected |
Definition at line 57 of file interpolatedcurve.hpp.
|
protected |
Definition at line 61 of file interpolatedcurve.hpp.
|
protected |
|
protectednoexcept |
|
protected |
|
protectednoexcept |
|
protected |
Definition at line 99 of file interpolatedcurve.hpp.
|
protected |
|
mutableprotected |
Definition at line 123 of file interpolatedcurve.hpp.
|
mutableprotected |
Definition at line 124 of file interpolatedcurve.hpp.
|
mutableprotected |
Definition at line 125 of file interpolatedcurve.hpp.
|
protected |
Definition at line 126 of file interpolatedcurve.hpp.
|
protected |
Definition at line 136 of file interpolatedcurve.hpp.