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