24#ifndef quantlib_grid_model_local_vol_surface_hpp
25#define quantlib_grid_model_local_vol_surface_hpp
40 const std::vector<Date>& dates,
41 const std::vector<ext::shared_ptr<std::vector<Real> > >& strikes,
61 const std::vector<ext::shared_ptr<std::vector<Real> > >
strikes_;
Extrapolation upperExtrapolation_
ext::shared_ptr< LocalVolTermStructure > localVol_
Real minStrike() const override
the minimum strike for which the term structure can return vols
std::vector< Time > times_
Volatility localVolImpl(Time t, Real strike) const override
local vol calculation
void generateArguments() override
const std::vector< ext::shared_ptr< std::vector< Real > > > strikes_
const DayCounter dayCounter_
Date maxDate() const override
the latest date for which the curve can return values
FixedLocalVolSurface::Extrapolation Extrapolation
Real maxStrike() const override
the maximum strike for which the term structure can return vols
Time maxTime() const override
the latest time for which the curve can return values
Extrapolation lowerExtrapolation_
const Date referenceDate_
virtual const Date & referenceDate() const
the date at which discount = 1.0 and/or variance = 0.0
virtual DayCounter dayCounter() const
the day counter used for date/time conversion
Local volatility surface based on fixed values plus interpolation.
Real Time
continuous quantity with 1-year units
Real Volatility
volatility
Abstract interest rate model class.