QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <smilesectionutils.hpp>
Public Member Functions | |
SmileSectionUtils (const SmileSection §ion, const std::vector< Real > &moneynessGrid=std::vector< Real >(), Real atm=Null< Real >(), bool deleteArbitragePoints=false) | |
std::pair< Real, Real > | arbitragefreeRegion () const |
std::pair< Size, Size > | arbitragefreeIndices () const |
const std::vector< Real > & | moneyGrid () const |
const std::vector< Real > & | strikeGrid () const |
const std::vector< Real > & | callPrices () const |
Real | atmLevel () const |
Private Member Functions | |
bool | af (Size i0, Size i, Size i1) const |
Private Attributes | |
std::vector< Real > | m_ |
std::vector< Real > | c_ |
std::vector< Real > | k_ |
Size | leftIndex_ |
Size | rightIndex_ |
Real | f_ |
smile-section utilities, the moneyness is expressed in
Definition at line 36 of file smilesectionutils.hpp.
SmileSectionUtils | ( | const SmileSection & | section, |
const std::vector< Real > & | moneynessGrid = std::vector<Real>() , |
||
Real | atm = Null<Real>() , |
||
bool | deleteArbitragePoints = false |
||
) |
Definition at line 197 of file smilesectionutils.cpp.
Definition at line 201 of file smilesectionutils.cpp.
const std::vector< Real > & moneyGrid | ( | ) | const |
const std::vector< Real > & strikeGrid | ( | ) | const |
const std::vector< Real > & callPrices | ( | ) | const |
Definition at line 47 of file smilesectionutils.hpp.
Real atmLevel | ( | ) | const |
Definition at line 48 of file smilesectionutils.hpp.
|
private |
Definition at line 52 of file smilesectionutils.hpp.
|
private |
Definition at line 52 of file smilesectionutils.hpp.
|
private |
Definition at line 52 of file smilesectionutils.hpp.
|
private |
Definition at line 53 of file smilesectionutils.hpp.
|
private |
Definition at line 53 of file smilesectionutils.hpp.
|
private |
Definition at line 54 of file smilesectionutils.hpp.