/src/main/java/net/finmath/montecarlo/RandomVariableFromFloatArray.java
final double newValueIfNonStochastic = valueIfNonStochastic - value;final double newValueIfNonStochastic = valueIfNonStochastic * valueIfNonStochastic;
final double newValueIfNonStochastic = valueIfNonStochastic * valueIfNonStochastic;
{ return conditionalExpectationOperator.getConditionalExpectation(this); } @Override public RandomVariable squared() { if(isDeterministic()) { <extra_id_0> return new RandomVariableFromFloatArray(time, newValueIfNonStochastic); } else { final float[] newRealizations = new float[realizations.length]; for(int i=0; i<newRealizations.length; i++) { newRealizations[i] = realizations[i] * realizations[i];