Module net.finmath.lib
Class ShortRateVolatilityModelHoLee
- java.lang.Object
-
- net.finmath.montecarlo.interestrate.models.covariance.ShortRateVolatilityModelHoLee
-
- All Implemented Interfaces:
Serializable,ShortRateVolatilityModel
public class ShortRateVolatilityModelHoLee extends Object implements ShortRateVolatilityModel
- Version:
- 1.0
- Author:
- Christian Fries
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ShortRateVolatilityModelHoLee(double volatility)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RandomVariablegetMeanReversion(int timeIndex)Returns the value of \( a(t) \) for \( t_{i} \leq t < t_{i+1} \).TimeDiscretizationgetTimeDiscretization()Returns the time discretization \( \{ t_{i} \} \) associated with the piecewise constant functions.RandomVariablegetVolatility(int timeIndex)Returns the value of \( \sigma(t) \) for \( t_{i} \leq t < t_{i+1} \).
-
-
-
Method Detail
-
getTimeDiscretization
public TimeDiscretization 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
public RandomVariable getVolatility(int timeIndex)
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
public RandomVariable getMeanReversion(int timeIndex)
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} \)
-
-