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:ShortRateVolatilityModelReturns the time discretization \( \{ t_{i} \} \) associated with the piecewise constant functions.- Specified by:
getTimeDiscretizationin interfaceShortRateVolatilityModel- Returns:
- the time discretization \( \{ t_{i} \} \)
-
getVolatility
Description copied from interface:ShortRateVolatilityModelReturns the value of \( \sigma(t) \) for \( t_{i} \leq t < t_{i+1} \).- Specified by:
getVolatilityin 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:ShortRateVolatilityModelReturns the value of \( a(t) \) for \( t_{i} \leq t < t_{i+1} \).- Specified by:
getMeanReversionin interfaceShortRateVolatilityModel- Parameters:
timeIndex- The index \( i \).- Returns:
- the value of \( a(t) \) for \( t_{i} \leq t < t_{i+1} \)
-