/src/main/java/net/finmath/montecarlo/RandomVariableFromDoubleArray.java
for( short i=0; i<result.length; i++) {
for ( int i=0; i<result.length; i++ ) {
if(isDeterministic()) { return new RandomVariableFromDoubleArray(time, operator.applyAsDouble(valueIfNonStochastic)); } else { final double[] result = new double[realizations.length]; <extra_id_0> result[i] = operator.applyAsDouble(realizations[i]); } return new RandomVariableFromDoubleArray(time, result); } } @Override