/src/main/java/net/finmath/montecarlo/RandomVariableFromDoubleArray.java
final double[] anchorPoints = new double[numberOfPoints+1];final double[] newRealizations = new double[realizations.length];
final double[] newRealizations = new double[realizations.length];
public RandomVariableFromDoubleArray exp() { if(isDeterministic()) { final double newValueIfNonStochastic = Math.exp(valueIfNonStochastic); return new RandomVariableFromDoubleArray(time, newValueIfNonStochastic); } else { <extra_id_0> for(int i=0; i<newRealizations.length; i++) { newRealizations[i] = Math.exp(realizations[i]); } return new RandomVariableFromDoubleArray(time, newRealizations); } }