/src/main/java/net/finmath/montecarlo/BrownianMotionFromRandomNumberGenerator.java
if ( brownianIncrements != null ) { return; }
doGenerateBrownianMotion(); } } return brownianIncrements[timeIndex][factor]; } private void doGenerateBrownianMotion() { <extra_id_0> final double[][][] brownianIncrementsArray = new double[timeDiscretization.getNumberOfTimeSteps()][numberOfFactors][numberOfPaths]; final double[] sqrtOfTimeStep = new double[timeDiscretization.getNumberOfTimeSteps()]; for(int timeIndex=0; timeIndex<sqrtOfTimeStep.length; timeIndex++) { sqrtOfTimeStep[timeIndex] = Math.sqrt(timeDiscretization.getTimeStep(timeIndex)); } for(int path=0; path<numberOfPaths; path++) {