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