/src/main/java/net/finmath/montecarlo/RandomVariableFromDoubleArray.java
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 ) ) ; }
final double[] result = new double[this.size()]; for(int i=0; i<result.length; i++) { result[i] = operator.applyAsDouble(realizations[i], argumentValue); } return new RandomVariableFromDoubleArray(newTime, result); } <extra_id_0> } return new RandomVariableFromDoubleArray(newTime, result); } final int newSize = Math.max(this.size(), argument.size()); final IntToDoubleFunction argument0Operator = this.getOperator(); final IntToDoubleFunction argument1Operator = argument.getOperator();