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
PiecewiseConstantCorrelation Class Referenceabstract

#include <piecewiseconstantcorrelation.hpp>

+ Inheritance diagram for PiecewiseConstantCorrelation:
+ Collaboration diagram for PiecewiseConstantCorrelation:

Public Member Functions

virtual ~PiecewiseConstantCorrelation ()=default
 
virtual const std::vector< Time > & times () const =0
 
virtual const std::vector< Time > & rateTimes () const =0
 
virtual const std::vector< Matrix > & correlations () const =0
 
virtual const Matrixcorrelation (Size i) const
 
virtual Size numberOfRates () const =0
 

Detailed Description

Definition at line 32 of file piecewiseconstantcorrelation.hpp.

Constructor & Destructor Documentation

◆ ~PiecewiseConstantCorrelation()

virtual ~PiecewiseConstantCorrelation ( )
virtualdefault

Member Function Documentation

◆ times()

virtual const std::vector< Time > & times ( ) const
pure virtual

Implemented in CotSwapFromFwdCorrelation, ExponentialForwardCorrelation, and TimeHomogeneousForwardCorrelation.

+ Here is the caller graph for this function:

◆ rateTimes()

virtual const std::vector< Time > & rateTimes ( ) const
pure virtual

◆ correlations()

virtual const std::vector< Matrix > & correlations ( ) const
pure virtual

Implemented in CotSwapFromFwdCorrelation, ExponentialForwardCorrelation, and TimeHomogeneousForwardCorrelation.

+ Here is the caller graph for this function:

◆ correlation()

const Matrix & correlation ( Size  i) const
virtual

Definition at line 43 of file piecewiseconstantcorrelation.hpp.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ numberOfRates()

virtual Size numberOfRates ( ) const
pure virtual

Implemented in CotSwapFromFwdCorrelation, ExponentialForwardCorrelation, and TimeHomogeneousForwardCorrelation.

+ Here is the caller graph for this function: