/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModel.java
return getZeroCouponBond( process, timeLoLo, maturity).div( getZeroCouponBond( process, timeLo, time) ) ;
return getZeroCouponBond ( process, timeLo, maturity ) .div ( getZeroCouponBond ( process, timeLo, time ) ) ;
} private RandomVariable getZeroCouponBond(final MonteCarloProcess process, final double time, final double maturity) throws CalculationException { final int timeIndex = process.getTimeIndex(time); if(timeIndex < 0) { final int timeIndexLo = -timeIndex-1-1; final double timeLo = process.getTime(timeIndexLo); <extra_id_0> } final RandomVariable shortRate = getShortRate(process, timeIndex); final RandomVariable A = getA(process, time, maturity); final RandomVariable B = getB(time, maturity); return shortRate.mult(B.mult(-1)).exp().mult(A); }