QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
Market-model evolution description. More...
#include <evolutiondescription.hpp>
Public Member Functions | |
EvolutionDescription ()=default | |
EvolutionDescription (const std::vector< Time > &rateTimes, const std::vector< Time > &evolutionTimes=std::vector< Time >(), const std::vector< std::pair< Size, Size > > &relevanceRates=std::vector< range >()) | |
const std::vector< Time > & | rateTimes () const |
const std::vector< Time > & | rateTaus () const |
const std::vector< Time > & | evolutionTimes () const |
const std::vector< Size > & | firstAliveRate () const |
const std::vector< std::pair< Size, Size > > & | relevanceRates () const |
Size | numberOfRates () const |
Size | numberOfSteps () const |
Private Types | |
typedef std::pair< Size, Size > | range |
Private Attributes | |
Size | numberOfRates_ |
std::vector< Time > | rateTimes_ |
std::vector< Time > | evolutionTimes_ |
std::vector< std::pair< Size, Size > > | relevanceRates_ |
std::vector< Time > | rateTaus_ |
std::vector< Size > | firstAliveRate_ |
Market-model evolution description.
This class stores:
This class is really just a tuple of evolution and rate times;
|-----|-----|-----|-----|-----| (size = 6) t0 t1 t2 t3 t4 t5 rateTimes f0 f1 f2 f3 f4 forwardRates d0 d1 d2 d3 d4 d5 discountBonds d0/d0 d1/d0 d2/d0 d3/d0 d4/d0 d5/d0 discountRatios sr0 sr1 sr2 sr3 sr4 coterminalSwaps
Definition at line 54 of file evolutiondescription.hpp.
Definition at line 58 of file evolutiondescription.hpp.
|
default |
const std::vector< Time > & rateTimes | ( | ) | const |
const std::vector< Time > & rateTaus | ( | ) | const |
const std::vector< Time > & evolutionTimes | ( | ) | const |
Definition at line 87 of file evolutiondescription.cpp.
const std::vector< Size > & firstAliveRate | ( | ) | const |
Size numberOfRates | ( | ) | const |
Definition at line 103 of file evolutiondescription.cpp.
Size numberOfSteps | ( | ) | const |
Definition at line 107 of file evolutiondescription.cpp.
|
private |
Definition at line 75 of file evolutiondescription.hpp.
|
private |
Definition at line 76 of file evolutiondescription.hpp.
|
private |
Definition at line 76 of file evolutiondescription.hpp.
Definition at line 77 of file evolutiondescription.hpp.
|
private |
Definition at line 79 of file evolutiondescription.hpp.
|
private |
Definition at line 80 of file evolutiondescription.hpp.