24#ifndef quantlib_simple_local_estimator_hpp
25#define quantlib_simple_local_estimator_hpp
45 start = quoteSeries.
begin();
47 for (cur = start; cur != quoteSeries.
end(); ++cur) {
50 std::fabs(std::log(cur->second/prev->second))/
Local-estimator volatility model.
SimpleLocalEstimator(Real y)
TimeSeries< Volatility > calculate(const TimeSeries< Real > "eSeries) override
Container for historical data.
Container::const_iterator const_iterator
const_iterator begin() const
const_iterator end() const
Volatility term structures.