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