QuantLib_DiscretizedDiscountBond man page

DiscretizedDiscountBond — Useful discretized discount bond asset.  


#include <ql/discretizedasset.hpp>

Inherits DiscretizedAsset.

Public Member Functions

void reset (Size size)
std::vector< Time > mandatoryTimes () const

Additional Inherited Members

Detailed Description

Useful discretized discount bond asset.

Member Function Documentation

void reset (Size size) [virtual]

This method should initialize the asset values to an Array of the given size and with values depending on the particular asset.

Implements DiscretizedAsset.

std::vector<Time> mandatoryTimes () const [virtual]

This method returns the times at which the numerical method should stop while rolling back the asset. Typical examples include payment times, exercise times and such.


The returned values are not guaranteed to be sorted.

Implements DiscretizedAsset.


Generated automatically by Doxygen for QuantLib from the source code.


Mon Apr 30 2018 Version 1.12.1 QuantLib