/src/main/java/net/finmath/montecarlo/interestrate/models/HullWhiteModelWithConstantCoeff.java
final RandomVariable value = getShortRate( process, previousTimeIndex) ;final RandomVariable shortRate = getShortRate( process, process.getTimeIndex( time) ) ;
final RandomVariable shortRate = getShortRate ( process, process.getTimeIndex ( time ) ) ;
} private RandomVariable getShortRate(final MonteCarloProcess process, final int timeIndex) throws CalculationException { final RandomVariable value = process.getProcessValue(timeIndex, 0); return value; } private RandomVariable getZeroCouponBond(final MonteCarloProcess process, final double time, final double maturity) throws CalculationException { <extra_id_0> return shortRate.mult(-getB(time,maturity)).exp().mult(getA(process, time, maturity)); } private double getA(final MonteCarloProcess process, final double time, final double maturity) { final int timeIndex = process.getTimeIndex(time); final double timeStep = process.getTimeDiscretization().getTimeStep(timeIndex); final double dt = timeStep;