#include <qle/termstructures/spreadedsmilesection.hpp>
|
| SpreadedSmileSection (const QuantLib::ext::shared_ptr< SmileSection > &underlyingSection, const Handle< Quote > &spread) |
|
| SpreadedSmileSection (const QuantLib::ext::shared_ptr< QuantLib::SpreadedSmileSection > &underlyingSection) |
|
Definition at line 36 of file spreadedsmilesection.hpp.
◆ SpreadedSmileSection() [1/2]
SpreadedSmileSection |
( |
const QuantLib::ext::shared_ptr< SmileSection > & |
underlyingSection, |
|
|
const Handle< Quote > & |
spread |
|
) |
| |
◆ SpreadedSmileSection() [2/2]
SpreadedSmileSection |
( |
const QuantLib::ext::shared_ptr< QuantLib::SpreadedSmileSection > & |
underlyingSection | ) |
|
◆ volatilityImpl()
Volatility volatilityImpl |
( |
Rate |
strike | ) |
const |
|
overrideprotected |
Definition at line 30 of file spreadedsmilesection.cpp.
30 {
31 Volatility spreadedVol = QuantLib::SpreadedSmileSection::volatilityImpl(k);
32 return std::max(spreadedVol, 0.0);
33}