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

base class for classes possibly allowing extrapolation More...

#include <extrapolation.hpp>

+ Inheritance diagram for Extrapolator:
+ Collaboration diagram for Extrapolator:

Public Member Functions

 Extrapolator ()=default
 
virtual ~Extrapolator ()=default
 
modifiers
void enableExtrapolation (bool b=true)
 enable extrapolation in subsequent calls More...
 
void disableExtrapolation (bool b=true)
 disable extrapolation in subsequent calls More...
 

inspectors

bool extrapolate_ = false
 
bool allowsExtrapolation () const
 tells whether extrapolation is enabled More...
 

Detailed Description

base class for classes possibly allowing extrapolation

Definition at line 32 of file extrapolation.hpp.

Constructor & Destructor Documentation

◆ Extrapolator()

Extrapolator ( )
default

◆ ~Extrapolator()

virtual ~Extrapolator ( )
virtualdefault

Member Function Documentation

◆ enableExtrapolation()

void enableExtrapolation ( bool  b = true)

enable extrapolation in subsequent calls

Definition at line 39 of file extrapolation.hpp.

+ Here is the caller graph for this function:

◆ disableExtrapolation()

void disableExtrapolation ( bool  b = true)

disable extrapolation in subsequent calls

Definition at line 41 of file extrapolation.hpp.

◆ allowsExtrapolation()

bool allowsExtrapolation ( ) const

tells whether extrapolation is enabled

Definition at line 46 of file extrapolation.hpp.

+ Here is the caller graph for this function:

Member Data Documentation

◆ extrapolate_

bool extrapolate_ = false
private

Definition at line 49 of file extrapolation.hpp.