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