25#ifndef quantlib_cap_floor_term_vol_surface_hpp
26#define quantlib_cap_floor_term_vol_surface_hpp
50 const std::vector<Rate>&
strikes,
58 const std::vector<Rate>&
strikes,
66 const std::vector<Rate>&
strikes,
67 const Matrix& volatilities,
74 const std::vector<Rate>&
strikes,
75 const Matrix& volatilities,
96 const std::vector<Rate>&
strikes()
const;
Actual/365 (Fixed) day counter.
cap/floor term-volatility structure
Actual/365 (Fixed) day count convention.
Cap/floor smile volatility surface.
std::vector< Date > optionDates_
void registerWithMarketData()
void performCalculations() const override
std::vector< std::vector< Handle< Quote > > > volHandles_
Interpolation2D interpolation_
Real minStrike() const override
the minimum strike for which the term structure can return vols
const std::vector< Period > & optionTenors() const
const std::vector< Time > & optionTimes() const
std::vector< Time > optionTimes_
const std::vector< Rate > & strikes() const
Date maxDate() const override
the latest date for which the curve can return values
const std::vector< Date > & optionDates() const
std::vector< Period > optionTenors_
Volatility volatilityImpl(Time t, Rate strike) const override
implements the actual volatility calculation in derived classes
void initializeOptionDatesAndTimes() const
std::vector< Rate > strikes_
Real maxStrike() const override
the maximum strike for which the term structure can return vols
Cap/floor term-volatility structure.
Shared handle to an observable.
base class for 2-D interpolations.
Framework for calculation on demand and result caching.
virtual void calculate() const
Matrix used in linear algebra.
virtual Natural settlementDays() const
the settlementDays used for reference date calculation
virtual Calendar calendar() const
the calendar used for reference and/or option date calculation
Date optionDateFromTenor(const Period &) const
period/date conversion
BusinessDayConvention
Business Day conventions.
Real Time
continuous quantity with 1-year units
unsigned QL_INTEGER Natural
positive integer
Real Volatility
volatility
std::size_t Size
size of a container
abstract base classes for 2-D interpolations
framework for calculation on demand and result caching
purely virtual base class for market observables