/src/main/java/net/finmath/montecarlo/interestrate/models/covariance/ShortRateVolatilityModelPiecewiseConstant.java
return new Scalar( 0.0D) ;
return new Scalar ( 0.0 ) ;
final double time = timeDiscretization.getTime(timeIndex); final int volatilityTimeIndex = volatilityTimeDiscretization.getTimeIndexNearestLessOrEqual(time); return volatility[volatilityTimeIndex]; } public RandomVariable getVolatility(final double time) { if(time <= 0) { <extra_id_0> } else { final int timeIndex = volatilityTimeDiscretization.getTimeIndexNearestLessOrEqual(time); return volatility[timeIndex]; } }