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

Discount-curve traits. More...

#include <bootstraptraits.hpp>

+ Collaboration diagram for Discount:

Classes

struct  curve
 

Public Types

typedef BootstrapHelper< YieldTermStructurehelper
 

Static Public Member Functions

static Date initialDate (const YieldTermStructure *c)
 
static Real initialValue (const YieldTermStructure *)
 
template<class C >
static Real guess (Size i, const C *c, bool validData, Size)
 
template<class C >
static Real minValueAfter (Size i, const C *c, bool validData, Size)
 
template<class C >
static Real maxValueAfter (Size i, const C *c, bool validData, Size)
 
static void updateGuess (std::vector< Real > &data, Real discount, Size i)
 
static Size maxIterations ()
 

Detailed Description

Discount-curve traits.

Definition at line 44 of file bootstraptraits.hpp.

Member Typedef Documentation

◆ helper

Definition at line 51 of file bootstraptraits.hpp.

Member Function Documentation

◆ initialDate()

static Date initialDate ( const YieldTermStructure c)
static

Definition at line 54 of file bootstraptraits.hpp.

+ Here is the call graph for this function:

◆ initialValue()

static Real initialValue ( const YieldTermStructure )
static

Definition at line 58 of file bootstraptraits.hpp.

◆ guess()

static Real guess ( Size  i,
const C *  c,
bool  validData,
Size   
)
static

Definition at line 64 of file bootstraptraits.hpp.

◆ minValueAfter()

static Real minValueAfter ( Size  i,
const C *  c,
bool  validData,
Size   
)
static

Definition at line 82 of file bootstraptraits.hpp.

◆ maxValueAfter()

static Real maxValueAfter ( Size  i,
const C *  c,
bool  validData,
Size   
)
static

Definition at line 95 of file bootstraptraits.hpp.

◆ updateGuess()

static void updateGuess ( std::vector< Real > &  data,
Real  discount,
Size  i 
)
static

Definition at line 105 of file bootstraptraits.hpp.

◆ maxIterations()

static Size maxIterations ( )
static

Definition at line 111 of file bootstraptraits.hpp.