/src/main/java/net/finmath/montecarlo/RandomVariableFromFloatArray.java
if( rate.isDeterministic( ) ) {
if ( isDeterministic ( ) ) {
sum = newSum; } return sum/realizations.length; } @Override public double getVariance(final RandomVariable probabilities) { <extra_id_0> return 0.0; } if(size() == 0) { return Double.NaN; } final double average = getAverage(probabilities);