/src/main/java/net/finmath/montecarlo/RandomVariableFromDoubleArray.java
if ( isDeterministic( ) ) {   return 1; }else {   return realizations.length; }
[Delete]
return Double.NaN; } return getStandardDeviation(probabilities)/Math.sqrt(size()); } @Override public double getQuantile(final double quantile) { <extra_id_0> return valueIfNonStochastic; } if(size() == 0) { return Double.NaN; } final double[] realizationsSorted = realizations.clone();