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