24#ifndef quantlib_extended_black_variance_curve_hpp
25#define quantlib_extended_black_variance_curve_hpp
41 const std::vector<Date>& dates,
44 bool forceMonotoneVariance =
true);
51 template <
class Interpolator>
Black volatility term structure base classes.
degenerate base class for the Acyclic Visitor pattern
Black variance term structure.
void accept(AcyclicVisitor &) override
Black volatility curve modelled as variance curve.
std::vector< Real > variances_
Real minStrike() const override
the minimum strike for which the term structure can return vols
std::vector< Time > times_
void accept(AcyclicVisitor &) override
std::vector< Handle< Quote > > volatilities_
bool forceMonotoneVariance_
DayCounter dayCounter() const override
the day counter used for date/time conversion
void setInterpolation(const Interpolator &i=Interpolator())
Date maxDate() const override
the latest date for which the curve can return values
Interpolation varianceCurve_
Real blackVarianceImpl(Time t, Real) const override
Black variance calculation.
Real maxStrike() const override
the maximum strike for which the term structure can return vols
Shared handle to an observable.
base class for 1-D interpolations.
virtual const Date & referenceDate() const
the date at which discount = 1.0 and/or variance = 0.0
Visitor for a specific class
virtual void visit(T &)=0
Real Time
continuous quantity with 1-year units
Globally accessible relinkable pointer.
base class for 1-D interpolations
ext::shared_ptr< BlackVolTermStructure > v
purely virtual base class for market observables