#include <qle/pricingengines/discretizedconvertible.hpp>
Public Member Functions | |
DiscretizedConvertible (const ConvertibleBond::option::arguments &args, const ext::shared_ptr< GeneralizedBlackScholesProcess > &process, const Handle< Quote > &creditSpread, const TimeGrid &grid) | |
void | reset (Size size) override |
const Array & | conversionProbability () const |
Array & | conversionProbability () |
const Array & | spreadAdjustedRate () const |
Array & | spreadAdjustedRate () |
const Array & | dividendValues () const |
Array & | dividendValues () |
std::vector< Time > | mandatoryTimes () const override |
Protected Member Functions | |
void | postAdjustValuesImpl () override |
Protected Attributes | |
Array | conversionProbability_ |
Array | spreadAdjustedRate_ |
Array | dividendValues_ |
Private Member Functions | |
Array | adjustedGrid () const |
void | applyConvertibility () |
void | applyCallability (Size, bool convertible) |
void | addCashflow (Size) |
Real | getConversionRatio (const Real t) const |
Private Attributes | |
ConvertibleBond::option::arguments | arguments_ |
QuantLib::ext::shared_ptr< GeneralizedBlackScholesProcess > | process_ |
Handle< Quote > | creditSpread_ |
std::vector< Time > | stoppingTimes_ |
std::vector< Time > | callabilityTimes_ |
std::vector< Time > | cashflowTimes_ |
std::vector< Time > | dividendTimes_ |
std::vector< Time > | notionalTimes_ |
Definition at line 33 of file discretizedconvertible.hpp.
DiscretizedConvertible | ( | const ConvertibleBond::option::arguments & | args, |
const ext::shared_ptr< GeneralizedBlackScholesProcess > & | process, | ||
const Handle< Quote > & | creditSpread, | ||
const TimeGrid & | grid | ||
) |
Definition at line 27 of file discretizedconvertible.cpp.
|
override |
Definition at line 92 of file discretizedconvertible.cpp.
const Array & conversionProbability | ( | ) | const |
Definition at line 41 of file discretizedconvertible.hpp.
Array & conversionProbability | ( | ) |
Definition at line 42 of file discretizedconvertible.hpp.
const Array & spreadAdjustedRate | ( | ) | const |
Definition at line 44 of file discretizedconvertible.hpp.
Array & spreadAdjustedRate | ( | ) |
Definition at line 45 of file discretizedconvertible.hpp.
const Array & dividendValues | ( | ) | const |
Definition at line 47 of file discretizedconvertible.hpp.
Array & dividendValues | ( | ) |
Definition at line 48 of file discretizedconvertible.hpp.
|
override |
Definition at line 80 of file discretizedconvertible.cpp.
|
overrideprotected |
Definition at line 120 of file discretizedconvertible.cpp.
|
private |
Definition at line 215 of file discretizedconvertible.cpp.
|
private |
Definition at line 164 of file discretizedconvertible.cpp.
|
private |
Definition at line 176 of file discretizedconvertible.cpp.
|
private |
Definition at line 213 of file discretizedconvertible.cpp.
|
private |
Definition at line 156 of file discretizedconvertible.cpp.
|
protected |
Definition at line 54 of file discretizedconvertible.hpp.
|
protected |
Definition at line 54 of file discretizedconvertible.hpp.
|
protected |
Definition at line 54 of file discretizedconvertible.hpp.
|
private |
Definition at line 61 of file discretizedconvertible.hpp.
|
private |
Definition at line 62 of file discretizedconvertible.hpp.
|
private |
Definition at line 63 of file discretizedconvertible.hpp.
|
private |
Definition at line 64 of file discretizedconvertible.hpp.
|
private |
Definition at line 65 of file discretizedconvertible.hpp.
|
private |
Definition at line 66 of file discretizedconvertible.hpp.
|
private |
Definition at line 67 of file discretizedconvertible.hpp.
|
private |
Definition at line 71 of file discretizedconvertible.hpp.