BlackVarianceTermStructure Class Reference

#include <ql/voltermstructure.hpp>

Inheritance diagram for BlackVarianceTermStructure:

Inheritance graph
[legend]
List of all members.

Detailed Description

Black variance term structure.

This abstract class acts as an adapter to VolTermStructure allowing the programmer to implement only the blackVarianceImpl(Time, Real, bool) method in derived classes.

Volatility are assumed to be expressed on an annual basis.


Public Member Functions

Visitability
virtual void accept (AcyclicVisitor &)

Protected Member Functions

Volatility blackVolImpl (Time maturity, Real strike) const


Member Function Documentation

Volatility blackVolImpl Time  maturity,
Real  strike
const [protected, virtual]
 

Returns the volatility for the given strike and date calculating it from the variance.

Implements BlackVolTermStructure.


QuantLib.org
QuantLib
Hosted by
SourceForge.net Logo
Documentation generated by
doxygen