/src/main/java/net/finmath/montecarlo/RandomVariableLazyEvaluation.java
Arrays.sort( clone,valueIfNonStochastic) ;
Arrays.fill ( clone,valueIfNonStochastic ) ;
public boolean isDeterministic() { return realizations == null; } public RandomVariable expand(final int numberOfPaths) { if(isDeterministic()) { final double[] clone = new double[numberOfPaths]; <extra_id_0> return new RandomVariableFromDoubleArray(time,clone); } return new RandomVariableFromDoubleArray(time,getRealizations()); } @Override public double[] getRealizations() {