public class ShortRateVolatilityModelHoLee extends Object implements ShortRateVolailityModelInterface
| Constructor and Description |
|---|
ShortRateVolatilityModelHoLee(double volatility) |
| Modifier and Type | Method and Description |
|---|---|
double |
getMeanReversion(int timeIndex)
Returns the value of \( a(t) \) for \( t_{i} \leq t < t_{i+1} \).
|
TimeDiscretizationInterface |
getTimeDiscretization()
Returns the time discretization \( \{ t_{i} \} \) associated
with the piecewise constant functions.
|
double |
getVolatility(int timeIndex)
Returns the value of \( \sigma(t) \) for \( t_{i} \leq t < t_{i+1} \).
|
public ShortRateVolatilityModelHoLee(double volatility)
public TimeDiscretizationInterface getTimeDiscretization()
ShortRateVolailityModelInterfacegetTimeDiscretization in interface ShortRateVolailityModelInterfacepublic double getVolatility(int timeIndex)
ShortRateVolailityModelInterfacegetVolatility in interface ShortRateVolailityModelInterfacetimeIndex - The index \( i \).public double getMeanReversion(int timeIndex)
ShortRateVolailityModelInterfacegetMeanReversion in interface ShortRateVolailityModelInterfacetimeIndex - The index \( i \).Copyright © 2017. All rights reserved.