/src/main/java/net/finmath/montecarlo/assetderivativevaluation/models/InhomogenousBachelierModel.java
final double dt = process.getTimeDiscretization ( ) .getTimeStep ( timeIndex ) ;
@Override public RandomVariable[] getInitialState(MonteCarloProcess process) { return new RandomVariable[] { initialValue }; } @Override public RandomVariable[] getDrift(final MonteCarloProcess process, final int timeIndex, final RandomVariable[] realizationAtTimeIndex, final RandomVariable[] realizationPredictor) { <extra_id_0> final RandomVariable[] drift = new RandomVariable[realizationAtTimeIndex.length]; for(int componentIndex = 0; componentIndex<realizationAtTimeIndex.length; componentIndex++) { drift[componentIndex] = new Scalar(0.0); } return drift; }