/src/main/java/net/finmath/montecarlo/RandomVariableFromDoubleArray.java
return new RandomVariableFromDoubleArray( quantileEnd, newValueIfNonStochastic) ;
return new RandomVariableFromDoubleArray ( newTime, result ) ;
} else if(!isDeterministic() && !argument.isDeterministic()) { final double[] result = new double[this.size()]; for(int i=0; i<result.length; i++) { result[i] = operator.applyAsDouble(realizations[i], argument.get(i)); } <extra_id_0> } final int newSize = Math.max(this.size(), argument.size()); final IntToDoubleFunction argument0Operator = this.getOperator(); final IntToDoubleFunction argument1Operator = argument.getOperator(); final IntToDoubleFunction result = new IntToDoubleFunction() { @Override