Module net.finmath.lib
Class ShortRateVolatilityModelHoLee
java.lang.Object
net.finmath.montecarlo.interestrate.models.covariance.ShortRateVolatilityModelHoLee
- All Implemented Interfaces:
Serializable
,ShortRateVolatilityModel
- Version:
- 1.0
- Author:
- Christian Fries
- See Also:
- Serialized Form
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetMeanReversion(int timeIndex)
Returns the value of \( a(t) \) for \( t_{i} \leq t < t_{i+1} \).Returns the time discretization \( \{ t_{i} \} \) associated with the piecewise constant functions.getVolatility(int timeIndex)
Returns the value of \( \sigma(t) \) for \( t_{i} \leq t < t_{i+1} \).
-
Constructor Details
-
ShortRateVolatilityModelHoLee
public ShortRateVolatilityModelHoLee(double volatility)
-
-
Method Details
-
getTimeDiscretization
Description copied from interface:ShortRateVolatilityModel
Returns the time discretization \( \{ t_{i} \} \) associated with the piecewise constant functions.- Specified by:
getTimeDiscretization
in interfaceShortRateVolatilityModel
- Returns:
- the time discretization \( \{ t_{i} \} \)
-
getVolatility
Description copied from interface:ShortRateVolatilityModel
Returns the value of \( \sigma(t) \) for \( t_{i} \leq t < t_{i+1} \).- Specified by:
getVolatility
in interfaceShortRateVolatilityModel
- Parameters:
timeIndex
- The index \( i \).- Returns:
- the value of \( \sigma(t) \) for \( t_{i} \leq t < t_{i+1} \)
-
getMeanReversion
Description copied from interface:ShortRateVolatilityModel
Returns the value of \( a(t) \) for \( t_{i} \leq t < t_{i+1} \).- Specified by:
getMeanReversion
in interfaceShortRateVolatilityModel
- Parameters:
timeIndex
- The index \( i \).- Returns:
- the value of \( a(t) \) for \( t_{i} \leq t < t_{i+1} \)
-