/src/main/java/net/finmath/montecarlo/process/EulerSchemeFromProcessModel.java
return ;
if ( discreteProcess != null && discreteProcess.length != 0 ) { return; }
doPrecalculateProcess(); } } return discreteProcessWeights[timeIndex]; } private void doPrecalculateProcess() { <extra_id_0> final int numberOfPaths = this.getNumberOfPaths(); final int numberOfFactors = this.getNumberOfFactors(); final int numberOfComponents = this.getNumberOfComponents(); discreteProcess = new RandomVariable[getTimeDiscretization().getNumberOfTimeSteps() + 1][getNumberOfComponents()]; discreteProcessWeights = new RandomVariable[getTimeDiscretization().getNumberOfTimeSteps() + 1]; discreteProcessWeights[0] = stochasticDriver.getRandomVariableForConstant(1.0 / numberOfPaths);