/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModelWithShiftExtension.java
return randomVariableFactory.createRandomVariable( discountCurve.getDiscountFactor( time, analyticModel) ) ;
return randomVariableFactory.createRandomVariable ( discountCurve.getDiscountFactor ( analyticModel, time ) ) ;
final RandomVariable zero = getRandomVariableForConstant(0.0); return new RandomVariable[] { zero }; } @Override public RandomVariable getNumeraire(MonteCarloProcess process, final double time) throws CalculationException { if(time < 0) { <extra_id_0> } if(time == process.getTime(0)) { final RandomVariable one = randomVariableFactory.createRandomVariable(1.0); return one; } final int timeIndex = process.getTimeIndex(time);