QuantLib: a free/open-source library for quantitative finance
fully annotated source code - version 1.34
|
#include <piecewiseconstantvariance.hpp>
Public Member Functions | |
virtual | ~PiecewiseConstantVariance ()=default |
virtual const std::vector< Real > & | variances () const =0 |
virtual const std::vector< Volatility > & | volatilities () const =0 |
virtual const std::vector< Time > & | rateTimes () const =0 |
Real | variance (Size i) const |
Volatility | volatility (Size i) const |
Real | totalVariance (Size i) const |
Volatility | totalVolatility (Size i) const |
Definition at line 33 of file piecewiseconstantvariance.hpp.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Definition at line 28 of file piecewiseconstantvariance.cpp.
Volatility volatility | ( | Size | i | ) | const |
Definition at line 34 of file piecewiseconstantvariance.cpp.
Definition at line 40 of file piecewiseconstantvariance.cpp.
Volatility totalVolatility | ( | Size | i | ) | const |
Definition at line 47 of file piecewiseconstantvariance.cpp.