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