# QuantLib_LocalVolTermStructure man page

LocalVolTermStructure —

## Synopsis

`#include <ql/termstructures/volatility/equityfx/localvoltermstructure.hpp>`

Inherits **VolatilityTermStructure**.

Inherited by FixedLocalVolSurface, GridModelLocalVolSurface, **LocalConstantVol**, **LocalVolCurve**, and **LocalVolSurface**.

### Public Member Functions

**Constructors**

See the **TermStructure** documentation for issues regarding constructors.

LocalVolTermStructure(BusinessDayConventionbdc=Following, constDayCounter&dc=DayCounter())

default constructorLocalVolTermStructure(constDate&referenceDate, constCalendar&cal=Calendar(),BusinessDayConventionbdc=Following, constDayCounter&dc=DayCounter())

initialize with a fixed reference dateLocalVolTermStructure(Natural settlementDays, constCalendar&,BusinessDayConventionbdc=Following, constDayCounter&dc=DayCounter())

calculate the reference date based on the global evaluation date

**Local Volatility**

Volatility localVol(constDate&d,RealunderlyingLevel, bool extrapolate=false) constVolatility localVol(Timet,RealunderlyingLevel, bool extrapolate=false) const

**Visitability**

virtual voidaccept(AcyclicVisitor&)

### Protected Member Functions

**Calculations**

These methods must be implemented in derived classes to perform the actual volatility calculations. When they are called, range check has already been performed; therefore, they must assume that extrapolation is required.

virtualVolatility localVolImpl(Timet,Realstrike) const =0

local vol calculation

### Additional Inherited Members

## Detailed Description

This abstract class defines the interface of concrete local-volatility term structures which will be derived from this one.

Volatilities are assumed to be expressed on an annual basis.

## Constructor & Destructor Documentation

### LocalVolTermStructure (BusinessDayConvention bdc = Following, const DayCounter & dc = DayCounter())

default constructor

**Warning**

term structures initialized by means of this constructor must manage their own reference date by overriding the **referenceDate()** method.

## Author

Generated automatically by Doxygen for QuantLib from the source code.

## Referenced By

LocalVolTermStructure(3) is an alias of QuantLib_LocalVolTermStructure(3).