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

#include <alphaformconcrete.hpp>

+ Inheritance diagram for AlphaFormInverseLinear:
+ Collaboration diagram for AlphaFormInverseLinear:

Public Member Functions

 AlphaFormInverseLinear (std::vector< Time > times, Real alpha=0.0)
 
 ~AlphaFormInverseLinear () override=default
 
Real operator() (Integer i) const override
 
void setAlpha (Real alpha_) override
 
- Public Member Functions inherited from AlphaForm
virtual ~AlphaForm ()=default
 
virtual Real operator() (Integer i) const =0
 
virtual void setAlpha (Real alpha)=0
 

Private Attributes

std::vector< Timetimes_
 
Real alpha_
 

Detailed Description

Definition at line 28 of file alphaformconcrete.hpp.

Constructor & Destructor Documentation

◆ AlphaFormInverseLinear()

AlphaFormInverseLinear ( std::vector< Time times,
Real  alpha = 0.0 
)

Definition at line 26 of file alphaformconcrete.cpp.

◆ ~AlphaFormInverseLinear()

~AlphaFormInverseLinear ( )
overridedefault

Member Function Documentation

◆ operator()()

Real operator() ( Integer  i) const
overridevirtual

Implements AlphaForm.

Definition at line 29 of file alphaformconcrete.cpp.

◆ setAlpha()

void setAlpha ( Real  alpha_)
overridevirtual

Implements AlphaForm.

Definition at line 33 of file alphaformconcrete.cpp.

Member Data Documentation

◆ times_

std::vector<Time> times_
private

Definition at line 36 of file alphaformconcrete.hpp.

◆ alpha_

Real alpha_
private

Definition at line 37 of file alphaformconcrete.hpp.